用户增加批量删除功能
This commit is contained in:
@@ -47,9 +47,7 @@ router.beforeEach((to, from, next) => {
|
||||
})
|
||||
} else {
|
||||
if (to.path) {
|
||||
if (window._hmt) {
|
||||
window._hmt.push(['_trackPageview', '/#' + to.fullPath])
|
||||
}
|
||||
_hmt.push(['_trackPageview', '/#' + to.fullPath]);
|
||||
}
|
||||
next()
|
||||
}
|
||||
@@ -64,6 +62,7 @@ router.beforeEach((to, from, next) => {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
router.afterEach(() => {
|
||||
NProgress.done() // finish progress bar
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<a-button v-if="btnEnableList.indexOf(1)>-1" @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item key="1" v-if="btnEnableList.indexOf(1)>-1" ><a-icon type="delete" @click="batchDel"/>删除</a-menu-item>
|
||||
<a-menu-item key="1" v-if="btnEnableList.indexOf(1)>-1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
||||
</a-menu>
|
||||
<a-button style="margin-left: 8px">
|
||||
批量操作
|
||||
|
||||
Reference in New Issue
Block a user