changewebviewway
This commit is contained in:
parent
b9a7864433
commit
1bd2bffedf
@ -2,7 +2,7 @@ const env = 'prod';
|
||||
const configs = {
|
||||
LocalTest: {
|
||||
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
||||
h5Url:'http://192.168.88.51:8080/#/'
|
||||
h5Url:'http://192.168.88.29:8080/#/'
|
||||
},
|
||||
dev: {
|
||||
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
|
||||
|
@ -1,3 +1,3 @@
|
||||
Android 包名 : uni.UNI4796942
|
||||
Android 包名 : uni.UNI70C49A3
|
||||
证书别名:oaapp
|
||||
密钥密码:12345678
|
||||
|
@ -2,8 +2,8 @@
|
||||
"name" : "oa考勤系统",
|
||||
"appid" : "__UNI__4796942",
|
||||
"description" : "",
|
||||
"versionName" : "2.1.5",
|
||||
"versionCode" : 215,
|
||||
"versionName" : "2.1.6",
|
||||
"versionCode" : 216,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@ -25,7 +25,8 @@
|
||||
"Geolocation" : {},
|
||||
"Maps" : {},
|
||||
"LivePusher" : {},
|
||||
"Push" : {}
|
||||
"Push" : {},
|
||||
"Barcode" : {}
|
||||
},
|
||||
/* 应用发布信息 */
|
||||
"distribute" : {
|
||||
@ -67,11 +68,6 @@
|
||||
"geolocation" : {
|
||||
"system" : {
|
||||
"__platform__" : [ "ios", "android" ]
|
||||
},
|
||||
"baidu" : {
|
||||
"__platform__" : [ "ios", "android" ],
|
||||
"appkey_ios" : "5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0",
|
||||
"appkey_android" : "ahdcPcBfatf61zRAgNl9SpBGUEURsnXN"
|
||||
}
|
||||
},
|
||||
"ad" : {},
|
||||
@ -87,12 +83,7 @@
|
||||
"version" : "2"
|
||||
}
|
||||
},
|
||||
"maps" : {
|
||||
"baidu" : {
|
||||
"appkey_ios" : "5zzMAq3ofL5H5KfxRcf0zDMLTimvGIb0",
|
||||
"appkey_android" : "ahdcPcBfatf61zRAgNl9SpBGUEURsnXN"
|
||||
}
|
||||
}
|
||||
"maps" : {}
|
||||
},
|
||||
"icons" : {
|
||||
"android" : {
|
||||
|
@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<web-view class="webview" @message="webLoad" style="flex: 1;" :src="config.h5Url"></web-view>
|
||||
<!-- <web-view class="webview" @message="webLoad" style="flex: 1;" :src="config.h5Url"></web-view> -->
|
||||
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
import config from "../../config";
|
||||
import {onExit } from "@dcloudio/uni-app";
|
||||
import config from "../../config"
|
||||
const wv = plus.webview.create(config.h5Url,"custom-webview")
|
||||
const currentPages=getCurrentPages()
|
||||
const currentWebview = currentPages[currentPages.length-1].$getAppWebview()
|
||||
currentWebview.append(wv)
|
||||
import { Communication } from '../../utils/communication.js';
|
||||
const commun=new Communication()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user