diff --git a/src/App.vue b/src/App.vue index 273719aa..13386785 100644 --- a/src/App.vue +++ b/src/App.vue @@ -17,6 +17,7 @@ onLaunch(()=>{ }) diff --git a/src/http/init.js b/src/http/init.js index 31ba0740..2a643728 100644 --- a/src/http/init.js +++ b/src/http/init.js @@ -1,8 +1,8 @@ import {uniRequest} from "@/http/main"; export default uniRequest.created({ - //baseUrl: 'http://172.16.100.93:9052', - baseUrl: 'http://192.168.88.122:9021', + baseUrl: 'http://172.16.100.93:9052', + // baseUrl: 'http://192.168.88.122:9021', header: { Authorization: uni.getStorageSync('token') ?? '' }, diff --git a/src/main.ts b/src/main.ts index 087a7fe8..b47b9ded 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,10 +4,12 @@ import tmui from "./tmui"; import App from "./App.vue"; import customTitle from "./components/custom-title/index.vue"; +import uniTransition from "@/components/uni-transition/uni-transition.vue"; export function createApp() { const app = createSSRApp(App); app.component("customTitle", customTitle); + app.component("uniTransition", uniTransition); app.use(tmui, { shareDisable: false } as Tmui.tmuiConfig); return { app, diff --git a/src/pages.json b/src/pages.json index 4f8db04a..46089cb6 100644 --- a/src/pages.json +++ b/src/pages.json @@ -39,6 +39,17 @@ } } }, + { + "path": "pages/test/index", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false // 禁用原生导航 + } + } + }, { "path": "pages/login/index", "style": { diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index e8fc6982..3566fc70 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -1,6 +1,5 @@