浏览代码

刷新我的图库中的分类

jwyu 2 年之前
父节点
当前提交
e4781aff41
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/myChart/List.vue

+ 5 - 1
src/views/myChart/List.vue

@@ -1,5 +1,5 @@
 <script setup>
-import { reactive,ref } from 'vue'
+import { onActivated, reactive,ref } from 'vue'
 import Search from '@/components/Search.vue'
 import SelfList from '@/components/SelfList.vue'
 import SortClassify from './components/SortClassify.vue'
@@ -69,6 +69,10 @@ function goDetail(item){
     })
 }
 
+onActivated(()=>{
+    getMyClassifyOpt()
+})
+
 
 </script>