zhangjie 1 an în urmă
părinte
comite
a6c7e7d94a

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

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