页面优化
This commit is contained in:
parent
79e075a5e7
commit
d3c074090f
@ -1,7 +1,8 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref } from "vue";
|
import { onMounted, ref } from "vue";
|
||||||
import {
|
import {
|
||||||
AiAssistantResult, deleteAiAssistant,
|
AiAssistantResult,
|
||||||
|
deleteAiAssistant,
|
||||||
getAllAiAssistant,
|
getAllAiAssistant,
|
||||||
saveAiAssistant
|
saveAiAssistant
|
||||||
} from "@/api/assistant";
|
} from "@/api/assistant";
|
||||||
@ -133,7 +134,13 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
{{ item.edit ? "取消" : "编辑" }}
|
{{ item.edit ? "取消" : "编辑" }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button v-if="!item.edit" link type="danger" @click="deleteAssistantHandle(item.id)">删除</el-button>
|
<el-button
|
||||||
|
v-if="!item.edit"
|
||||||
|
link
|
||||||
|
type="danger"
|
||||||
|
@click="deleteAssistantHandle(item.id)"
|
||||||
|
>删除</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-else
|
v-else
|
||||||
link
|
link
|
||||||
|
Loading…
Reference in New Issue
Block a user