瀏覽代碼

执行自定义时间loading bug修复

wu 5 月之前
父節點
當前提交
8cc57ac6d0
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      src/utils/define.js
  2. 3 3
      src/views/basic/dynamicModel/list/index.vue

+ 1 - 1
src/utils/define.js

@@ -6,7 +6,7 @@
 const url = 'https://windata.platomix.net' // 测试环境
 // const url = 'https://bi.platomix.net' // BI环境
 // const url = 'https://miniapp.zhangmushiye.com/' // 樟木环境
-// const url = 'http://hr.cscec8st.com.cn:50022/' // 中建环境
+// const url = 'http://hr.cscec8st.com.cn:50021/' // 中建环境
 
 const APIURl = url + '/api'
 const WLAPIURl = 'http://flow.teplot.com/paas' // 文领本地

+ 3 - 3
src/views/basic/dynamicModel/list/index.vue

@@ -2827,16 +2827,16 @@ export default {
             type: 'error',
             duration: 1500
           })
-          this.loading?.close()
+          loading?.close()
         })
         .finally(() => {
           if (!isQizhi) {
-            this.loading?.close()
+            loading?.close()
           }
           loading?.close()
         })
       if (!isQizhi) {
-        this.loading?.close()
+        loading?.close()
         this.$message({
           message: res.data.msg,
           type: 'success',