Procházet zdrojové kódy

card submit bug fix

zhangjie před 5 roky
rodič
revize
cbd3679d1c
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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 {