代码调整
This commit is contained in:
parent
1a0653c93a
commit
3c0f9ab3d2
@ -146,6 +146,7 @@ export default {
|
||||
getLableList().then(res => {
|
||||
this.labelList = res.data || [];
|
||||
}).catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user