Ver Fonte

算法管理模块修改bug

feiyujj há 8 meses atrás
pai
commit
16d7ffaa7e
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      src/views/modules/alg/alg-update.vue

+ 4 - 2
src/views/modules/alg/alg-update.vue

@@ -1,7 +1,7 @@
 <template>
   <el-dialog :title=" '修改算法信息'" :close-on-click-modal="false" :visible.sync="visible" :before-close="cleanFileList">
     <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()"
-      label-width="80px">
+      label-width="80px" :disabled=true>
       <el-form-item label="算法名称" prop="algorithmName">
         <el-input v-model="dataForm.algorithmName" placeholder="请输入算法名称"></el-input>
       </el-form-item>
@@ -156,8 +156,10 @@ export default {
     beforeRemove(file, fileList) {
       return MessageBox.confirm(`确定移除 ${file.name}?`);
     },
-    cleanFileList(){
+    cleanFileList(done){
       this.fileList=[];
+      done();
+      
     }
   },
 };