Commit 979422c7 by 杨北旺

修复bug

1 parent 5d7983cf
......@@ -106,9 +106,7 @@ export default {
components: {},
mounted() {
console.log(util.dateFormat(1702518870000))
},
mounted() {},
methods: {
topClass(id) {
......@@ -118,6 +116,8 @@ export default {
addClass(type, row) {
this.isVisible = true
this.modalTitle = type == 2 ? '编辑' : '新增'
this.editId = null
this.topId = null
if (type == 2) {
this.categoryName = row.categoryName
this.editId = row.id
......
......@@ -121,6 +121,7 @@ export default {
}
this.$refs.textBox.setEdit(res.content)
this.formObj.coverArr = res.strategyImg ? [res.strategyImg] : []
this.formObj.categoryId = res.categoryId
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!