33 lines
560 B
Vue
33 lines
560 B
Vue
<template>
|
|
<div class="main">
|
|
<web-view :src="webViewSrc"></web-view>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { mapGetters } from "vuex";
|
|
export default {
|
|
data() {
|
|
return {
|
|
webViewSrc: "",
|
|
};
|
|
},
|
|
computed: {
|
|
...mapGetters({
|
|
user: "user",
|
|
}),
|
|
},
|
|
onLoad() {
|
|
console.log("user", this.user);
|
|
this.webViewSrc = `https://eshangtech.com/minLoad/search2.html`;
|
|
console.log("this.webViewSrc", this.webViewSrc);
|
|
},
|
|
};
|
|
</script>
|
|
<style scoped lang="less">
|
|
.main {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
</style>
|
|
|
|
|