Explorar el Código

修复轮询加载事件bug

cfort hace 3 años
padre
commit
b725f7e76c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/business/platform/form/utils/custom/joinCURD.js

+ 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
     })
 }