|
@@ -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();
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
};
|