fix button style
This commit is contained in:
@@ -36,15 +36,16 @@
|
|||||||
</template>
|
</template>
|
||||||
</t-cell>
|
</t-cell>
|
||||||
</t-cell-group>
|
</t-cell-group>
|
||||||
<div v-if="!isCreateMode && !isStoreManagerScope" class="actions" v-entrance-transition="140">
|
<t-button
|
||||||
<t-button
|
v-if="!isCreateMode && !isStoreManagerScope"
|
||||||
v-can="permissionCodes.store.delete"
|
v-can="permissionCodes.store.delete"
|
||||||
class="action"
|
class="cell-button"
|
||||||
theme="danger"
|
theme="danger"
|
||||||
:loading="isRemoving"
|
:loading="isRemoving"
|
||||||
@click="confirmRemoveStore"
|
content="删除"
|
||||||
>删除</t-button>
|
v-entrance-transition="140"
|
||||||
</div>
|
@click="confirmRemoveStore"
|
||||||
|
/>
|
||||||
<store-remove-dialog
|
<store-remove-dialog
|
||||||
v-model:visible="removeDialogVisible"
|
v-model:visible="removeDialogVisible"
|
||||||
:store="formData"
|
:store="formData"
|
||||||
@@ -213,15 +214,6 @@ async function removeStore(id: string): Promise<void> {
|
|||||||
.links {
|
.links {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
|
||||||
margin: 0 1rem;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
.action {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user