提交 ebedaa24 authored 作者: yyf's avatar yyf

Merge branch 'bug修改' into develop

......@@ -280,8 +280,8 @@
},
/** 新增按钮操作 */
handleAdd() {
if(this.total >= 50) {
this.$message({ message: '您已经有50个运费模板了,暂时不再支持更多!',type: 'warning'});
if(this.total >= 500) {
this.$message({ message: '您已经有500个运费模板了,暂时不再支持更多!',type: 'warning'});
return;
}
this.reset();
......
......@@ -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,8 +465,10 @@
this.goodsAfterSaleForm.params.push(obj)
this.$forceUpdate()//点编辑过来的时候,因为多层嵌套组件,照成视图没有更新,调用这个方法,(分析的应该是这样)
},
deleteparameter(index){
this.goodsAfterSaleForm.params.splice(index, 1)
this.$forceUpdate()
},
/** 售后服务数据 初始化 */
initInfo() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论