Commit dd8b6048 authored by xiangzj's avatar xiangzj

嵌入第三方页面

parent 68cd4cf7
......@@ -9,6 +9,7 @@
<script>
import { getClientByApp } from '@/servers/address.js'
import { mapState } from 'vuex'
export default {
data() {
return {
......@@ -21,6 +22,7 @@
this.getClientByApp()
},
computed: {
...mapState(['userInfo']),
navHeight() {
return {
'height': `100px`
......@@ -29,7 +31,7 @@
},
methods: {
async getClientByApp(){
const res = await getClientByApp({code:'0050000215'})
const res = await getClientByApp({code: this.userInfo.code})
this.src = 'https://yingxiao.wuliangye.com.cn/webroot/login/jxsLogin.html?'+res
},
message(event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment