Commit 92805ad8 authored by zhouzihao's avatar zhouzihao

dev-提示体验

parent 41ff6cfc
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<!-- title工具栏 --> <!-- title工具栏 -->
</div> </div>
<div slot="searchContent" class="search-content-slot"> <div slot="searchContent" class="search-content-slot">
<Select v-model="env_id" style="width:200px"> <Select v-model="env_id" style="width:200px" @on-change="selectChange">
<Option v-for="item in envlist" :value="item.env_id" :key="item.env_id">{{ item.name }}</Option> <Option v-for="item in envlist" :value="item.env_id" :key="item.env_id">{{ item.name }}</Option>
</Select> </Select>
</div> </div>
...@@ -255,6 +255,10 @@ export default { ...@@ -255,6 +255,10 @@ export default {
this.$Message.error(err); this.$Message.error(err);
}); });
}, },
selectChange: function(){
console.log("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=")
this.getList()
},
init: function() { init: function() {
this.getEnvList(); this.getEnvList();
// console.log(JSON.stringify(this.$route.query.p_id)); // console.log(JSON.stringify(this.$route.query.p_id));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment