把大部分的 n-space 替换成 n-flex
This commit is contained in:
@@ -25,7 +25,7 @@ async function handleDelete() {
|
||||
|
||||
</script>
|
||||
<template>
|
||||
<n-space>
|
||||
<n-flex>
|
||||
<n-button size="small" type="success" secondary @click="goEdit">
|
||||
编辑
|
||||
</n-button>
|
||||
@@ -35,6 +35,6 @@ async function handleDelete() {
|
||||
</template>
|
||||
确定删除这条公告吗?
|
||||
</n-popconfirm>
|
||||
</n-space>
|
||||
</n-flex>
|
||||
</template>
|
||||
<style scoped></style>
|
||||
|
||||
@@ -98,9 +98,9 @@ onMounted(init)
|
||||
v-model:value="announcement.content"
|
||||
:min-height="200"
|
||||
/>
|
||||
<n-space justify="end">
|
||||
<n-flex justify="end">
|
||||
<n-button type="primary" @click="submit">保存</n-button>
|
||||
</n-space>
|
||||
</n-flex>
|
||||
</template>
|
||||
<style scoped>
|
||||
.title {
|
||||
|
||||
Reference in New Issue
Block a user