update 研究pdf预览功能

This commit is contained in:
路 范
2021-09-18 10:49:15 +08:00
parent 82dde0078d
commit 2eb2a7c60f
2 changed files with 7 additions and 5 deletions

View File

@@ -350,7 +350,7 @@ export default {
pageJump(id) { pageJump(id) {
this.$router.push({ this.$router.push({
name: "policyInfo", name: "policyInfo",
params: { ticket: this.ticket, id: id } params: { ticket: this.ticket, id: id },
}); });
}, },
setZwUserAplus(Userid, userName) { setZwUserAplus(Userid, userName) {
@@ -377,12 +377,14 @@ export default {
console.log("初始化完成后执行bridge方法"); console.log("初始化完成后执行bridge方法");
ZWJSBridge.getUserType() ZWJSBridge.getUserType()
.then((result1) => { .then((result1) => {
console.log(result1); console.log("getUserType():" + JSON.stringify(result1));
console.log("result1.userType:" + result1.userType);
//经纬度 //经纬度
ZWJSBridge.getLocation() ZWJSBridge.getLocation()
.then((result2) => { .then((result2) => {
console.log(result2); console.log("getLocation():" + JSON.stringify(result2));
debugger; console.log("result2.longitude:" + result2.longitude);
console.log("result2.latitude:" + result2.latitude);
aplus_queue.push({ aplus_queue.push({
action: "aplus.sendPV", action: "aplus.sendPV",
arguments: [ arguments: [