2213980799@qq.com 1 سال پیش
والد
کامیت
b29da794c3
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 2 1
      src/views/doc/components/file-edit.vue
  2. 1 1
      src/views/doc/sendReceive/receive/receive.vue

+ 2 - 1
src/views/doc/components/file-edit.vue

@@ -216,7 +216,8 @@ export default {
         this.form.directoryId = this.parentId;
         const options = await listCode();
         if (options.length > 0) {
-          this.form.code=await getCode(options[0].id)
+          this.success(await getCode(options[0].id))
+          // this.form.code=await getCode(options[0].id)
         }
       } else {
         this.form = await fileGetByIdAPI(row.id);

+ 1 - 1
src/views/doc/sendReceive/receive/receive.vue

@@ -45,7 +45,7 @@
       :processSubmitDialogFlag.sync="processSubmitDialogFlag"
       v-if="processSubmitDialogFlag"
       ref="processSubmitDialogRef"
-      @reload="reload"
+      @reload="done"
     ></process-submit-dialog>
     <edit ref="editRef" @done="done"></edit>
   </div>