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 6262 </div >
6363
6464 <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 >
6666 <a-dropdown v-if =" selectedRowKeys.length > 0" >
6767 <a-menu slot =" overlay" >
6868 <a-menu-item key =" 1" ><a-icon type =" delete" />删除</a-menu-item >
Original file line number Diff line number Diff line change 6262 </div >
6363
6464 <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">
6767 <a-menu slot =" overlay" >
6868 <a-menu-item key =" 1" ><a-icon type =" delete" />删除</a-menu-item >
6969 <!-- lock | unlock -->
You can’t perform that action at this time.
0 commit comments