mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-24 21:40:22 +08:00
refactor(projects): 恢复pinia默认写法
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { subscribeStore } from '@/store';
|
||||
import { useTheme } from '@/composables';
|
||||
import AppProvider from './AppProvider.vue';
|
||||
|
||||
function init() {
|
||||
subscribeStore();
|
||||
useTheme();
|
||||
}
|
||||
|
||||
init();
|
||||
</script>
|
||||
<style scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user