File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 62
62
</div >
63
63
64
64
<div class =" table-operator" >
65
- <a-button type =" primary" icon =" plus" @click = " () => $router.push({name: 'anime-add'}) " >新建</a-button >
65
+ <a-button type =" primary" icon =" plus" >新建</a-button >
66
66
<a-dropdown v-if =" selectedRowKeys.length > 0" >
67
67
<a-menu slot =" overlay" >
68
68
<a-menu-item key =" 1" ><a-icon type =" delete" />删除</a-menu-item >
Original file line number Diff line number Diff line change 62
62
</div >
63
63
64
64
<div class =" table-operator" >
65
- <a-button type =" primary" icon =" plus" v-if = " $auth('table. add') " >新建</a-button >
66
- <a-dropdown v-if = " $auth('table. edit') && selectedRowKeys.length > 0" >
65
+ <a-button type =" primary" icon =" plus" v-action: add >新建</a-button >
66
+ <a-dropdown v-action: edit && selectedRowKeys.length > 0">
67
67
<a-menu slot =" overlay" >
68
68
<a-menu-item key =" 1" ><a-icon type =" delete" />删除</a-menu-item >
69
69
<!-- lock | unlock -->
You can’t perform that action at this time.
0 commit comments