小程序端
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.
 
 
 
 
 

32 lines
538 B

<template>
<view>
<web-view :src="src"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
positionStr: null,
blockColor: null,
blockName: null,
blockType: null,
id: null,
str: null,
src:''
};
},
onLoad(options) {
if (options.str) {
this.str = options.str;
this.src = 'http://192.168.130.193:8848/H5/map.html?str=' + this.str
}else{
this.src = 'http://192.168.130.193:8848/H5/map.html?str=null'
}
console.log(this.src)
}
};
</script>
<style lang="scss"></style>