Prechádzať zdrojové kódy

card submit bug fix

zhangjie 5 rokov pred
rodič
commit
cbd3679d1c
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      src/modules/card/views/CardDesign.vue

+ 4 - 0
src/modules/card/views/CardDesign.vue

@@ -594,6 +594,10 @@ export default {
         this.isSubmit = false;
         window.cardData = null;
         if (result) {
+          this.cardDetailId = result.cardDetailId;
+          this.cardId = result.cardId;
+          this.$ls.set("cardDetailId", this.cardDetailId);
+          this.$ls.set("cardId", this.cardId);
           this.canSave = false;
           this.$message.success("提交成功!");
         } else {