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.
35 lines
481 B
35 lines
481 B
<template>
|
|
<view class="container">
|
|
<button @click="pick(1)">点位拾取</button>
|
|
<button @click="pick(2)">线路绘制</button>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
computed: {},
|
|
onLoad() {},
|
|
onReady() {},
|
|
methods: {
|
|
pick(val){
|
|
if(val == 1){
|
|
uni.navigateTo({
|
|
url:'pointPick/pointPick'
|
|
})
|
|
}else{
|
|
uni.navigateTo({
|
|
url:'lineDraw/lineDraw'
|
|
})
|
|
}
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
|
|
</style>
|
|
|