fix : 修复数据loading加载
This commit is contained in:
@@ -99,14 +99,15 @@ const form = ref({
|
||||
const getTunnel = () => {
|
||||
const loading = ElLoading.service({
|
||||
lock: true,
|
||||
text: '正在加载系统资源',
|
||||
text: '正在加载系统资源...',
|
||||
background: 'rgba(0, 0, 0, 0.7)',
|
||||
customClass:'allLoading'
|
||||
})
|
||||
getTunnelDetail(tunnelId).then((res) => {
|
||||
if (res?.code === 1000) {
|
||||
loading.close()
|
||||
form.value = res.data;
|
||||
}
|
||||
loading.close()
|
||||
});
|
||||
};
|
||||
getTunnel();
|
||||
|
||||
Reference in New Issue
Block a user