mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-30 02:57:08 +08:00
style: 调整新增字典按钮位置
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
<a-input v-model="inputValue" :placeholder="props.placeholder" allow-clear>
|
<a-input v-model="inputValue" :placeholder="props.placeholder" allow-clear>
|
||||||
<template #prefix><icon-search /></template>
|
<template #prefix><icon-search /></template>
|
||||||
</a-input>
|
</a-input>
|
||||||
|
<a-button v-permission="['system:dict:add']" type="primary" @click="onAdd">
|
||||||
|
<template #icon><icon-plus /></template>
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="dict-tree__container">
|
<div class="dict-tree__container">
|
||||||
<div class="dict-tree__tree">
|
<div class="dict-tree__tree">
|
||||||
@@ -25,12 +28,6 @@
|
|||||||
</a-tree>
|
</a-tree>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<a-button v-permission="['system:dict:add']" type="primary" style="width: 100%" @click="onAdd">
|
|
||||||
<template #icon><icon-plus /></template>
|
|
||||||
<template #default>新增</template>
|
|
||||||
</a-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DictAddModal ref="DictAddModalRef" @save-success="getTreeData" />
|
<DictAddModal ref="DictAddModalRef" @save-success="getTreeData" />
|
||||||
@@ -186,7 +183,13 @@ onMounted(() => {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
&__search {
|
&__search {
|
||||||
margin-bottom: 10px;
|
display: flex;
|
||||||
|
justify-content: start;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
.arco-btn {
|
||||||
|
margin-left: 8px;
|
||||||
|
padding: 0 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__container {
|
&__container {
|
||||||
|
|||||||
Reference in New Issue
Block a user