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