You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
<web-view :src="src"></web-view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
onLoad(option) {
|
|
|
|
const that = this
|
|
|
|
that.type = option.type
|
|
|
|
that.token = that.$store.state.user.token
|
|
|
|
that.src = `http://test.tall.wiki/compete/index/index.html?type=` + option.type + `&token=` + that.token
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
type: '',
|
|
|
|
token: ''
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
</style>
|