提交 93edb43b authored 作者: yyf's avatar yyf

Merge branch 'bug修改' into test

......@@ -33,6 +33,7 @@
placeholder="属性名称"
v-model="element.title"
maxlength="15"
@input="updatelist"
show-word-limit
size="small"
></el-input>
......@@ -41,6 +42,7 @@
<el-input
type="text"
placeholder="属性值"
@input="updatelist"
v-model="element.value"
maxlength="60"
show-word-limit
......@@ -450,9 +452,12 @@
}
}
},
updatelist(){
this.$forceUpdate()
},
// 添加参数
addparameter(){
// 添加参数
addparameter(){
let obj = {
title:'',
value:''
......@@ -460,6 +465,7 @@
this.goodsAfterSaleForm.params.push(obj)
this.$forceUpdate()//点编辑过来的时候,因为多层嵌套组件,照成视图没有更新,调用这个方法,(分析的应该是这样)
},
deleteparameter(index){
this.goodsAfterSaleForm.params.splice(index, 1)
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论