Update index.vue

This commit is contained in:
macro 2019-08-25 15:44:55 +08:00
parent 3eb340c596
commit dd518a97f3

View File

@ -168,7 +168,7 @@
if (valid) { if (valid) {
let data = new URLSearchParams(); let data = new URLSearchParams();
data.append("name",this.productAttrCate.name); data.append("name",this.productAttrCate.name);
if(this.dialogTitle==="添加品牌"){ if(this.dialogTitle==="添加类型"){
createProductAttrCate(data).then(response=>{ createProductAttrCate(data).then(response=>{
this.$message({ this.$message({
message: '添加成功', message: '添加成功',