接口对接
This commit is contained in:
@@ -63,16 +63,25 @@ export default {
|
||||
default:[],
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
firstData(newValue, oldValue) {
|
||||
this.tableData=newValue
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.$bus.$on('getSearchItem',(data)=>{
|
||||
console.log('11',data)
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handle() {
|
||||
alert(111);
|
||||
},
|
||||
},
|
||||
beforeDestroy(){
|
||||
this.$bus.$off('getSearchItem')
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user