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