优化页尾编辑

This commit is contained in:
pushuo 2022-08-19 16:02:26 +08:00
parent 72801d1b75
commit 9c977e00bf
1 changed files with 6 additions and 2 deletions

View File

@ -354,13 +354,17 @@
null;
}
$http.get(url, null, {hload: true}).then((res) => {
$http.get(url, null, {hload: true, hmsg: true}).then((res) => {
if (res.data) {
self.name = res.data;
} else {
self.name = '数据不存在或已被删除';
}
}).finally(() => {this.nameLoading = false});
}).catch(() => {
self.name = '数据不存在或已被删除';
}).finally(() => {
self.nameLoading = false;
});
},
}
});