修改参数展示

master
pikachu 2021-05-20 09:23:20 +08:00
parent d927eaadf7
commit 5e52e7f157
1 changed files with 3 additions and 4 deletions

View File

@ -183,16 +183,15 @@ export default {
handleEditParams(group, param) { handleEditParams(group, param) {
this.paramForm = { this.paramForm = {
paramName: param.paramName, paramName: param.paramName,
options: param.options, options: param.options.split(","),
required: param.required, required: param.required,
isIndex: param.isIndex, isIndex: param.isIndex,
groupId: group.groupId, groupId: group.groupId,
categoryId: this.categoryId, categoryId: this.categoryId,
id: param.id, id: param.id,
}; };
console.warn(this.paramForm.isIndex) console.warn(this.paramForm.options)
this.options = this.paramForm.options.split(",") this.ops = this.paramForm.options
this.ops = this.paramForm.options.split(",")
this.modalType = 1; this.modalType = 1;
this.modalTitle = "修改参数"; this.modalTitle = "修改参数";
this.dialogParamsVisible = true; this.dialogParamsVisible = true;