Compare commits

..

No commits in common. "812db8113bf5532a23b9f30616451d1dd479fcc6" and "d99332822cf6fd8cc39ac1837f80f7a9fdf0859b" have entirely different histories.

2 changed files with 13 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<web-view :src="fddUrl"></web-view> <web-view :src="fddUrl" bindmessage="handleMessage"></web-view>
</view> </view>
</template> </template>
@ -12,11 +12,19 @@ export default {
}; };
}, },
onLoad() { onLoad() {
// uni.getStorage({
// key: "fddUrl",
// success: res => {
// this.$nextTick(() => {
// this.fddUrl = res.data;
// });
// }
// });
this.fddUrl = uni.getStorageSync("fddUrl"); this.fddUrl = uni.getStorageSync("fddUrl");
}, },
methods: { methods: {
reloadPage(url) { handleMessage(e) {
this.fddUrl = url; console.log(e, "fffffffffffffffffffffffffffff");
} }
} }
}; };

View File

@ -93,8 +93,8 @@ import http from "@/http/api";
export default { export default {
data() { data() {
return { return {
name: "许旻轶", name: "",
num: "320504199809164033", num: "",
checked: [], checked: [],
fileList: [], fileList: [],
fileList2: [], fileList2: [],