first
This commit is contained in:
17
user-app/src/App.vue
Normal file
17
user-app/src/App.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
|
||||
import { ensureAuthenticatedPageAccess } from "./utils/auth";
|
||||
onLaunch(() => {
|
||||
ensureAuthenticatedPageAccess();
|
||||
});
|
||||
onShow(() => {
|
||||
ensureAuthenticatedPageAccess();
|
||||
});
|
||||
onHide(() => {
|
||||
// noop
|
||||
});
|
||||
</script>
|
||||
<style lang="scss">
|
||||
@use "./styles/tokens.scss";
|
||||
@use "./styles/app.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user