修复前端获取版本号的bug

This commit is contained in:
2026-04-29 17:54:34 +08:00
parent 3472aa790e
commit b536eadd92

View File

@@ -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 = '';