|
@@ -2,8 +2,8 @@
|
|
|
<BasicTable @register="registerTable">
|
|
|
<template #toolbar>
|
|
|
<a-button type="primary" @click="handleCreate"> 新增商品分类</a-button>
|
|
|
- <a-button type="warning" @click="expandAll">展开全部</a-button>
|
|
|
- <a-button type="error" @click="collapseAll">折叠全部</a-button>
|
|
|
+ <a-button primary color="warning" @click="expandAll">展开全部</a-button>
|
|
|
+ <a-button primary color="error" @click="collapseAll">折叠全部</a-button>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
<TableAction
|