first
This commit is contained in:
parent
81d0df2a90
commit
520b80da65
@ -2,15 +2,15 @@ const env = 'dev';
|
||||
const configs = {
|
||||
dev: {
|
||||
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
||||
h5Url:'http://192.168.88.35:8080/'
|
||||
h5Url:'http://192.168.88.37:8080/#/'
|
||||
},
|
||||
test: {
|
||||
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
||||
h5Url:'http://172.16.100.93:8041/#/'
|
||||
},
|
||||
prod: {
|
||||
apiBaseUrl: 'https://oa.szjixun.cn/api',
|
||||
h5Url:'https://oa.szjixun.cn/#/'
|
||||
apiBaseUrl: 'https://oa-a.szjixun.cn/api',
|
||||
h5Url:'https://oa-a.szjixun.cn/#/'
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -10,7 +10,7 @@ import {sendWebWiew,receiveWebView} from "@/utils/communicate";
|
||||
const webViewRef=ref(null)
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
// #ifdef APP-ANDROID
|
||||
const permissionListener = uni.createRequestPermissionListener();
|
||||
/*const permissionListener = uni.createRequestPermissionListener();
|
||||
permissionListener.onRequest((e)=>{
|
||||
})
|
||||
permissionListener.onConfirm((e) => {
|
||||
@ -18,7 +18,7 @@ permissionListener.onConfirm((e) => {
|
||||
});
|
||||
permissionListener.onComplete((e) => {
|
||||
sendWebWiew(webViewRef.value,{auth:e,open:false})
|
||||
});
|
||||
});*/
|
||||
// #endif
|
||||
const webLoad=(e)=>{
|
||||
const m=receiveWebView(e)
|
||||
|
@ -10,15 +10,15 @@ const env = "dev";
|
||||
const configs = {
|
||||
dev: {
|
||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||
h5Url: "http://192.168.88.35:8080/"
|
||||
h5Url: "http://192.168.88.37:8080/#/"
|
||||
},
|
||||
test: {
|
||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||
h5Url: "http://172.16.100.93:8041/#/"
|
||||
},
|
||||
prod: {
|
||||
apiBaseUrl: "https://oa.szjixun.cn/api",
|
||||
h5Url: "https://oa.szjixun.cn/#/"
|
||||
apiBaseUrl: "https://oa-a.szjixun.cn/api",
|
||||
h5Url: "https://oa-a.szjixun.cn/#/"
|
||||
}
|
||||
};
|
||||
const config = configs[env];
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
|
||||
;(function(){
|
||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.08","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"oa考勤系统","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.15","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"uni-app","style":"custom","type":"default"},"isNVue":true}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
__uniConfig.styles=[{}];//styles
|
||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
|
2709
unpackage/dist/dev/app-plus/app-service.js
vendored
2709
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because it is too large
Load Diff
2
unpackage/dist/dev/app-plus/app.css
vendored
2
unpackage/dist/dev/app-plus/app.css
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -161,7 +161,7 @@
|
||||
"uni-app": {
|
||||
"control": "uni-v3",
|
||||
"vueVersion": "3",
|
||||
"compilerVersion": "4.08",
|
||||
"compilerVersion": "4.15",
|
||||
"nvueCompiler": "uni-app",
|
||||
"renderer": "auto",
|
||||
"nvue": {
|
||||
|
@ -113,15 +113,15 @@ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
|
||||
var configs = {
|
||||
dev: {
|
||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||
h5Url: "http://192.168.88.35:8080/"
|
||||
h5Url: "http://192.168.88.37:8080/#/"
|
||||
},
|
||||
test: {
|
||||
apiBaseUrl: "https://warehouse.szjixun.cn/oa_backend",
|
||||
h5Url: "http://172.16.100.93:8041/#/"
|
||||
},
|
||||
prod: {
|
||||
apiBaseUrl: "https://oa.szjixun.cn/api",
|
||||
h5Url: "https://oa.szjixun.cn/#/"
|
||||
apiBaseUrl: "https://oa-a.szjixun.cn/api",
|
||||
h5Url: "https://oa-a.szjixun.cn/#/"
|
||||
}
|
||||
};
|
||||
var config = configs[env];
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user