Kaynağa Gözat

修复轮询加载事件bug

cfort 3 yıl önce
ebeveyn
işleme
b725f7e76c

+ 2 - 2
src/business/platform/form/utils/custom/joinCURD.js

@@ -49,8 +49,8 @@ const post = (method, data, type = 'post') => {
         method: type,
         data: requestData,
         params: requestParams,
-        // 开启表单提交加载
-        isLoading: true,
+        // 开启表单提交加载,查询接口除外(sql,select)
+        isLoading: !['sql', 'select'].includes(method),
         retainData
     })
 }