Merge pull request #3525 from dataease/pr@dev@refactor_app-loading

refactor(应用): 优化应用管理界面Loading状态防止误触
This commit is contained in:
xuwei-fit2cloud 2022-10-31 09:44:06 +08:00 committed by GitHub
commit 76021e1635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -313,7 +313,7 @@ export function appApply(data) {
return request({
url: 'panel/group/appApply',
method: 'post',
loading: false,
loading: true,
data
})
}
@ -322,7 +322,7 @@ export function appEdit(data) {
return request({
url: 'panel/group/appEdit',
method: 'post',
loading: false,
loading: true,
data
})
}

View File

@ -1,6 +1,7 @@
<template>
<el-drawer
v-closePress
v-loading="$store.getters.loadingMap[$store.getters.currentPath]"
:title="'应用模板'"
:visible.sync="applyDrawer"
custom-class="de-user-drawer"

View File

@ -1,6 +1,6 @@
<template>
<div
v-loading="formLoading"
v-loading="positionCheck('datasource')?formLoading:false"
:class="positionCheck('datasource')?'de-ds-form':'de-ds-form-app'"
>
<div