From 2c0326d75d98247af87467150653c84b5d78b928 Mon Sep 17 00:00:00 2001 From: veypi Date: Thu, 6 Jun 2024 21:19:44 +0800 Subject: [PATCH] init oaer --- oaweb/app.config.ts | 5 +- oaweb/app.vue | 4 +- oaweb/assets/css/app.scss | 1 + oaweb/components/menu.vue | 8 +- oaweb/composables/state.ts | 47 ------- oaweb/layouts/default.vue | 49 ++++++- oaweb/package.json | 1 + oaweb/pages/index.vue | 6 +- oaweb/stores/user.ts | 49 +++++++ oaweb/yarn.lock | 254 ++++++++++++++++++++++++++++++++----- 10 files changed, 331 insertions(+), 93 deletions(-) delete mode 100644 oaweb/composables/state.ts create mode 100644 oaweb/stores/user.ts diff --git a/oaweb/app.config.ts b/oaweb/app.config.ts index c4bdfbd..1a64611 100644 --- a/oaweb/app.config.ts +++ b/oaweb/app.config.ts @@ -7,9 +7,12 @@ export default defineAppConfig({ - id: '', + // host: window.location.protocol + '//' + window.location.host, + host: '', + id: 'FR9P5t8debxc11aFF', layout: { theme: '', + fullscreen: false, size: [0, 0], header_height: 80, footer_height: 16, diff --git a/oaweb/app.vue b/oaweb/app.vue index 8933266..3497253 100644 --- a/oaweb/app.vue +++ b/oaweb/app.vue @@ -1,4 +1,5 @@