fix
This commit is contained in:
parent
39894184aa
commit
fa7a811dd7
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -9,13 +9,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user