1212
This commit is contained in:
@@ -43,6 +43,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
model:"add",
|
||||
loadingBtn: false,
|
||||
constants: [],
|
||||
editPram: {
|
||||
@@ -83,7 +84,7 @@ export default {
|
||||
addTreeListLabelForCasCard(arr, child) {
|
||||
},
|
||||
handlerSubmit() {
|
||||
productApi.classifySave(this.editPram,).then((result) => {
|
||||
productApi[this.model](this.editPram).then((result) => {
|
||||
if(result.code==20000){
|
||||
this.$parent.$parent.editDialogConfig.visible=false;
|
||||
this.$message.success("添加成功!");
|
||||
|
||||
Reference in New Issue
Block a user