Przeglądaj źródła

supAuthRef 设置

tangning 1 tydzień temu
rodzic
commit
05f30a07d2
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/productOperation/modal/PowersModal.vue

+ 2 - 2
src/views/productOperation/modal/PowersModal.vue

@@ -226,7 +226,7 @@
         resetFields();
         const { authType, supAuth } = await getAuthType({ num: numRef.value,  sourceType: sourceType.value });
         fileFlow.showList = authType ? false : true;
-        supAuthRef.value = supAuth;
+        supAuthRef.value = supAuth?true:false;
         type.value = authType;
         setFieldsValue({
           type: data.sceneName,
@@ -262,7 +262,7 @@
             caseId: caseId.value,
             ...params,
             lookAuth: params.authType,
-            supAuth: supAuthRef.value,
+            supAuth: supAuthRef.value?1:0,
             sourceType: sourceType.value,
           });
           console.log('res', res);