Files
ops2/frontend/ops_uniapp/App.vue
T
2026-04-16 18:55:11 +08:00

23 lines
408 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script>
import { userStore } from './store/user.js'
export default {
onLaunch: function() {
// 应用启动时恢复登录状态(对标 PC 端 App.vue 的 restoreSession
userStore.restoreSession()
},
onShow: function() {},
onHide: function() {}
}
</script>
<style>
/*每个页面公共css */
@import url("/static/dist/css/tabler.min.css");
@import url("/mycss.css");
</style>