盘点界面巷道长度

taiwan-tingli
yiming 5 years ago
parent 19e7291eb1
commit 35840fc12e

@ -21,7 +21,7 @@
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<a-select :default-value="data[0].name" <a-select :default-value="data[0].name"
@change="handleChange" class="select-roadway"> @change="handleChange" style="width:200px">
<a-select-option v-for="i in data" :key="i.name" :value="i.id"> <a-select-option v-for="i in data" :key="i.name" :value="i.id">
{{i.name}} {{i.name}}
</a-select-option> </a-select-option>
@ -117,7 +117,8 @@ export default {
// 清空原有数据 // 清空原有数据
this.request();// 这是我们获取数据的函数 this.request();// 这是我们获取数据的函数
}else{ }else{
console.log("$route.meta.isUseCache true") console.log("$route.meta.isUseCache true")
this.request();
} }
}, },
// beforeRouteLeave(to, form, next) { // beforeRouteLeave(to, form, next) {

Loading…
Cancel
Save