From f9b459a3fefd5fab0ee8e19268adb9d9eadab2a7 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 十二月 2024 18:16:58 +0800 Subject: [PATCH] 预测项setting的值修改最大输入长度为1000 --- src/views/model/pre/item/MmPredictItemForm.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/model/pre/item/MmPredictItemForm.vue b/src/views/model/pre/item/MmPredictItemForm.vue index eb370a4..1aa3fbc 100644 --- a/src/views/model/pre/item/MmPredictItemForm.vue +++ b/src/views/model/pre/item/MmPredictItemForm.vue @@ -136,9 +136,7 @@ <Icon icon="ep:upload"/> 上传模型 </el-button> - <el-button - size="small" type="primary" @click="setReplaceModelOnly(true)" - v-if="formType.value === 'update'"> + <el-button type="primary" plain @click="setReplaceModelOnly(true)"> <Icon icon="ep:upload"/> 更新模型 </el-button> @@ -251,6 +249,7 @@ <el-select v-model="scope.row.pointid" filterable + clearable @change="(value) => changeOutputPoint(value,scope.row)" placeholder="请选择"> <el-option @@ -284,7 +283,7 @@ <el-table-column prop="valuetype" label="类型" align="center" min-width="150"/> <el-table-column prop="" label="值" align="center" min-width="200"> <template #default="scope"> - <el-input size="mini" v-model="scope.row.value" maxlength="256" + <el-input size="mini" v-model="scope.row.value" maxlength="1000" :disabled="scope.row.key === 'pyFile'" style="width:100%;height:100%"/> </template> -- Gitblit v1.9.3