diff --git a/.env.development b/.env.development index 9bcb052..20d722f 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,2 @@ VITE_API_URL=https://test.tall.wiki +VITE_API_URL_NEW=http://101.201.226.163 diff --git a/.env.production b/.env.production index 7fe4fa9..e16c971 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ VITE_API_URL=http://www.tall.wiki +VITE_API_URL_NEW=http://101.201.226.163 diff --git a/.env.test b/.env.test index 9bcb052..20d722f 100644 --- a/.env.test +++ b/.env.test @@ -1 +1,2 @@ VITE_API_URL=https://test.tall.wiki +VITE_API_URL_NEW=http://101.201.226.163 diff --git a/src/App.vue b/src/App.vue index e56641a..37604cd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,6 +20,20 @@ if (userString) { } else { router.push({ name: 'signin' }); } + +// 获取系统设备信息 +// function getSystemInfo() { +// uni.getSystemInfo({ +// success: result => { +// this.$store.commit('setSystemInfo', result); +// }, +// fail: error => { +// console.error('getSystemInfo fail:', error); +// }, +// }); +// } + +// getSystemInfo()