treeDetail.vue
526 Bytes
<template>
<view class="container">
<!-- <tui-no-data imgUrl="/static/images/nodata.png" v-if="rows.length==0">暂无数据</tui-no-data>-->
<view>123</view>
</view>
</template>
<script>
export default {
data() {
return {
rows: [],
roadId: ''
}
},
onLoad(options) {
let dataString = decodeURIComponent(options.data);
let data = JSON.parse(dataString);
console.log(data); // { key: 'value', otherKey: 123 }
},
methods: {
}
}
</script>
<style scoped>
</style>