修复前端获取版本号的bug
This commit is contained in:
@@ -269,8 +269,8 @@ onMounted(() => {
|
||||
|
||||
// 获取后端版本号
|
||||
getSystemVersion().then((res) => {
|
||||
if (res && res.data && res.data.backendVersion) {
|
||||
backendVersion.value = res.data.backendVersion;
|
||||
if (res && res.backendVersion) {
|
||||
backendVersion.value = res.backendVersion;
|
||||
}
|
||||
}).catch(() => {
|
||||
backendVersion.value = '';
|
||||
|
||||
Reference in New Issue
Block a user