This commit is contained in:
xiaojunnuo
2025-04-08 23:36:50 +08:00
parent 64e5449ab3
commit 4bb0918e27
24 changed files with 113 additions and 91 deletions
@@ -8,13 +8,13 @@
</template>
<script lang="ts" setup>
import { onMounted } from "vue";
import { onActivated, onMounted } from "vue";
import { useFs } from "@fast-crud/fast-crud";
import createCrudOptions from "./crud";
import { useSettingStore } from "/@/store/modules/settings";
defineOptions({
name: "SettingsHeaderMenus"
name: "SettingsHeaderMenus",
});
const { crudBinding, crudRef, crudExpose, context } = useFs({ createCrudOptions });
@@ -23,5 +23,8 @@ const settingStore = useSettingStore();
onMounted(() => {
crudExpose.doRefresh();
});
onActivated(async () => {
await crudExpose.doRefresh();
});
</script>
<style lang="less"></style>