inleft
2022-01-21 b505f3648a10dd998ae9fe7a6edb1bf125d7d6a6
commit | author | age
b505f3 1 <template>
I 2     <a-affix :offset-top="600">
3
4         <div style="padding-left:5px;">
5             <a-button @click="showDrawer1">
6                 抽屉1
7             </a-button>
8             <!-- <a-button @click="showDrawer2">
9                 抽屉2
10             </a-button> -->
11             <a-button @click="showModal">
12                 日志
13                 <a-icon type="plus-circle" style="margin-left: 0px;" />
14             </a-button>
15
16             <a-button>
17                 工具
18                 <a-icon type="tool" style="margin-left: 0px;" />
19             </a-button>
20         </div>
21     </a-affix>
22 </template>
23
24 <script>
25     export default {
26         data() {
27             return {}
28         },
29         methods: {
30             showDrawer1() {
31                 this.$emit('showDrawer1')
32             },
33             showModal() {
34                 this.$emit('showModal')
35             }
36         },
37     }
38 </script>
39
40 <style>
41 </style>