huangbin 4 éve
szülő
commit
db663600c9

+ 1 - 1
src/views/information/account_info/compoments/cancel-trader/index.vue

@@ -123,7 +123,7 @@ export default defineComponent({
             if (visible.value && props.selectedData) {
                 const { selectedData } = props;
                 mergeTwoObj(formState, selectedData);
-                formState.logintaaccounts = selectedData.acclist.map((e) => e.accountid);
+                formState.logintaaccounts = selectedData.acclist?.map((e) => e.accountid);
                 formState.accountname = props.selectedData.loginname;
             }
         });

+ 1 - 1
src/views/information/account_info/compoments/detail-trader/index.vue

@@ -111,7 +111,7 @@ export default defineComponent({
                        if (visible.value && props.selectedData) {
                 const { selectedData } = props;
                 mergeTwoObj(formState, selectedData);
-                formState.logintaaccounts = selectedData.acclist.map((e) => e.accountid);
+                formState.logintaaccounts = selectedData.acclist?.map((e) => e.accountid);
                 formState.accountname = props.selectedData.loginname;
             }
         });

+ 1 - 1
src/views/information/account_info/compoments/locked-trader/index.vue

@@ -117,7 +117,7 @@ export default defineComponent({
             if (visible.value && props.selectedData) {
                 const { selectedData } = props;
                 mergeTwoObj(formState, selectedData);
-                formState.logintaaccounts = selectedData.acclist.map((e) => e.accountid);
+                formState.logintaaccounts = selectedData.acclist?.map((e) => e.accountid);
                 formState.accountname = props.selectedData.loginname;
             }
         });

+ 1 - 1
src/views/information/account_info/compoments/modify-child-traders/index.vue

@@ -115,7 +115,7 @@ export default defineComponent({
             if (visible.value && props.selectedData) {
                 const { selectedData } = props;
                 mergeTwoObj(formState, selectedData);
-                formState.logintaaccounts = selectedData.acclist.map((e) => e.accountid);
+                formState.logintaaccounts = selectedData.acclist?.map((e) => e.accountid);
                 formState.accountname = selectedData.loginname;
             }
         });

+ 1 - 1
src/views/information/account_info/compoments/unlocked-trader/index.vue

@@ -117,7 +117,7 @@ export default defineComponent({
             if (visible.value && props.selectedData) {
                 const { selectedData } = props;
                 mergeTwoObj(formState, selectedData);
-                formState.logintaaccounts = selectedData.acclist.map((e) => e.accountid);
+                formState.logintaaccounts = selectedData.acclist?.map((e) => e.accountid);
                 formState.accountname = props.selectedData.loginname;
             }
         });

+ 1 - 1
src/views/information/account_info/list/account_info_trade/index.vue

@@ -61,7 +61,7 @@
     <Add @refresh="handleBtnAction" />
     <AddChild @refresh="handleBtnAction"
               :accountList="accountList"
-              :secondBtnData="firstBtnData" />
+              :selectedData="firstBtnData" />
     <Modify @refresh="handleBtnAction"
             :selectedData="firstBtnData" />
     <Locked @refresh="handleBtnAction"