diff --git a/src/views/parner/staff.vue b/src/views/parner/staff.vue
index 1f9550b..5a58fce 100644
--- a/src/views/parner/staff.vue
+++ b/src/views/parner/staff.vue
@@ -127,7 +127,7 @@
- 编辑
+ 编辑
重置密码
删除
转让超管
diff --git a/src/views/parnerOperation/editor.js b/src/views/parnerOperation/editor.js
index 513c13e..c0cc56c 100644
--- a/src/views/parnerOperation/editor.js
+++ b/src/views/parnerOperation/editor.js
@@ -2,6 +2,7 @@ import Axios from 'axios'
import Api from '@/utils/api'
import Setting from '@/setting'
import Util from '@/libs/util'
+import { Loading } from 'element-ui'
export default {
//skin:'oxide-dark',
language:'zh_CN',
@@ -347,6 +348,7 @@ export default {
let file = this.files[0];
let fd = new FormData();
fd.append("file", file);
+ const load = Loading.service()
Axios({
method: 'post',
url: Api.fileUploadNakadai,
@@ -356,8 +358,11 @@ export default {
token: Util.local.get(Setting.tokenKey)
},
}).then(({ data }) => {
+ load.close()
callback(data.filesResult.fileUrl)
- }).catch(res => {})
+ }).catch(res => {
+ load.close()
+ })
}
//触发点击
input.click();