zhangjie 1 year ago
parent
commit
a6c7e7d94a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/modules/stmms/components/markParam/ModifyMarkParams.vue

+ 3 - 1
src/modules/stmms/components/markParam/ModifyMarkParams.vue

@@ -132,6 +132,7 @@ export default {
     ]),
     ]),
     async initData() {
     async initData() {
       this.initStore();
       this.initStore();
+      this.selectMenu("structure");
 
 
       const basicPaperInfo = {
       const basicPaperInfo = {
         ...this.instance,
         ...this.instance,
@@ -155,7 +156,7 @@ export default {
       } else {
       } else {
         const detData = await cardDetail(this.instance.cardId);
         const detData = await cardDetail(this.instance.cardId);
         const cardContent = JSON.parse(detData.content);
         const cardContent = JSON.parse(detData.content);
-        let infos = { basicPaperInfo };
+        let infos = { basicPaperInfo, structureCanEdit: true };
         if (
         if (
           (detData.type === "GENERIC" && detData.createMethod === "STANDARD") ||
           (detData.type === "GENERIC" && detData.createMethod === "STANDARD") ||
           detData.type === "CUSTOM"
           detData.type === "CUSTOM"
@@ -165,6 +166,7 @@ export default {
             cardContent.pages
             cardContent.pages
           );
           );
         }
         }
+        console.log(infos);
         this.setMarkParamInfos(infos);
         this.setMarkParamInfos(infos);
       }
       }