소스 검색

card submit bug fix

zhangjie 5 년 전
부모
커밋
cbd3679d1c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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 {