Browse Source

style: dict style

main
xingyuv 2 years ago
parent
commit
0beef9e1d2
  1. 4
      src/views/system/dict/index.vue

4
src/views/system/dict/index.vue

@ -1,6 +1,6 @@
<template> <template>
<div class="flex"> <div class="flex">
<BasicTable @register="registerTable" class="w-1/2 xl:w-1/2" @row-click="handleRowClick"> <BasicTable @register="registerTable" class="w-1/2" @row-click="handleRowClick">
<template #toolbar> <template #toolbar>
<a-button type="primary" v-auth="['system:dict:create']" :preIcon="IconEnum.ADD" @click="handleCreate"> <a-button type="primary" v-auth="['system:dict:create']" :preIcon="IconEnum.ADD" @click="handleCreate">
{{ t('action.create') }} {{ t('action.create') }}
@ -27,7 +27,7 @@
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
<DictData class="w-1/2 xl:w-1/2" :searchInfo="searchInfo" /> <DictData class="w-1/2" :searchInfo="searchInfo" />
<DictTypeModal @register="registerModal" @success="reload()" /> <DictTypeModal @register="registerModal" @success="reload()" />
</div> </div>
</template> </template>