代码调整

This commit is contained in:
dong 2022-10-17 14:53:23 +08:00
parent 1a0653c93a
commit 3c0f9ab3d2
2 changed files with 5 additions and 1 deletions

View File

@ -146,6 +146,7 @@ export default {
getLableList().then(res => {
this.labelList = res.data || [];
}).catch(err => {
console.log(err);
});
},
methods: {

View File

@ -90,7 +90,10 @@ export default {
this.doBack();
} else if (valid) {
// this.formModel.companyId = parseInt(this.companyId);
this.formModel.tags = this.tagsArr;
if (Array.isArray(this.tagsArr)) {
this.formModel.tags = this.tagsArr.join(',');
}
updateOption(this.formModel).then(resp => {
this.doBack();
}).catch(error => {