This commit is contained in:
@fawn-nine
2023-09-22 14:29:13 +08:00
parent 14e286a7b6
commit bc111c4abe

View File

@@ -324,8 +324,7 @@
},
methods: {
handleCheckedCitiesChange(value) {
console.log(value, 'value')
this.dataForm.tagList = value
console.log(value, 'value')
},
// 获取商品标签
getTags() {
@@ -352,6 +351,7 @@
init(id) {
this.dataForm.productId = id || 0
this.visible = true
this.getTags()
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (this.dataForm.productId) {
@@ -486,7 +486,7 @@
'author': this.dataForm.author,
'publisher': this.dataForm.publisher,
'pubDate': this.dataForm.pubDate,
'shoproudLabels': this.dataForm.tagList,
'shoproudLabels': this.dataForm.tags,
// 'format': this.dataForm.format, // 开本
'isFreeMail': this.dataForm.isFreeMail,
// 'pageNum': this.dataForm.pageNum,