提交 02081cbf authored 作者: 王天霸's avatar 王天霸

1

上级 60068c10
......@@ -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
......@@ -457,7 +459,15 @@
title:'',
value:''
}
this.goodsAfterSaleForm.params.push(obj)
let arr = JSON.parse(JSON.stringify(this.goodsAfterSaleForm.params));
arr.push(obj)
this.goodsAfterSaleForm.params=arr
this.$forceUpdate()
// console.log(arr)
},
updatelist(){
this.$forceUpdate()
},
deleteparameter(index){
this.goodsAfterSaleForm.params.splice(index, 1)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论