9.18王德鹏/1
This commit is contained in:
@@ -53,6 +53,10 @@ export default {
|
||||
this.fetchCategories()
|
||||
this.reload()
|
||||
},
|
||||
onShow() {
|
||||
// 从创建/编辑页返回时,确保刷新最新列表
|
||||
this.reload()
|
||||
},
|
||||
computed: {
|
||||
categoryNames() { return this.categories.map(c => c.name) },
|
||||
categoryLabel() {
|
||||
@@ -131,3 +135,6 @@ export default {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user