|
@@ -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: '添加成功',
|