mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-01 03:38:30 +08:00
30 lines
493 B
Vue
30 lines
493 B
Vue
<template>
|
|
<div class="table-filter" v-show="visible">haha</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.table-filter {
|
|
position: absolute 0 100px * *;
|
|
background-color: #fff;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/babel">
|
|
export default {
|
|
data() {
|
|
return {
|
|
visible: true
|
|
};
|
|
},
|
|
|
|
events: {
|
|
toggleFilterPopup(visibleFilter) {
|
|
this.visible = visibleFilter === 'tag';
|
|
}
|
|
},
|
|
|
|
mounted() {
|
|
console.log('popup ready');
|
|
}
|
|
};
|
|
</script> |