This commit is contained in:
Aiden 2024-10-24 13:57:52 +08:00
parent 39894184aa
commit fa7a811dd7
2 changed files with 9 additions and 9 deletions

View File

@ -3,8 +3,7 @@ import App from "./App.vue";
import uviewPlus from "uview-plus"; import uviewPlus from "uview-plus";
import globalComponents from "./components"; import globalComponents from "./components";
import VConsole from "vconsole"; import VConsole from "vconsole";
const token = window?.plus?.storage.getItemAsync("token");
uni.setStorageSync("token", token);
if (import.meta.env.VITE_APP_MODE === "dev") { if (import.meta.env.VITE_APP_MODE === "dev") {
new VConsole(); new VConsole();
} }

View File

@ -9,13 +9,7 @@
} }
}, },
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
},
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
@ -23,6 +17,13 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
},
{ {
"path": "pages/painting/index", "path": "pages/painting/index",
"style": { "style": {