mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复新增对话不可删除问题
This commit is contained in:
parent
0d2524df1d
commit
89d8705c04
|
|
@ -73,7 +73,7 @@
|
|||
<auto-tooltip :content="row.abstract">
|
||||
{{ row.abstract }}
|
||||
</auto-tooltip>
|
||||
<div @click.stop v-if="mouseId === row.id">
|
||||
<div @click.stop v-if="mouseId === row.id && row.id !== 'new'">
|
||||
<el-button style="padding: 0" link @click.stop="deleteLog(row)">
|
||||
<el-icon><Delete /></el-icon>
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
<auto-tooltip :content="row.abstract">
|
||||
{{ row.abstract }}
|
||||
</auto-tooltip>
|
||||
<div @click.stop v-if="mouseId === row.id">
|
||||
<div @click.stop v-if="mouseId === row.id && row.id !== 'new'">
|
||||
<el-button style="padding: 0" link @click.stop="deleteLog(row)">
|
||||
<el-icon><Delete /></el-icon>
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -106,7 +106,6 @@ const { user } = useStore()
|
|||
const downModel = ref<Model>()
|
||||
|
||||
const is_permisstion = computed(() => {
|
||||
console.log(user.userInfo?.id, props.model.user_id)
|
||||
return user.userInfo?.id == props.model.user_id
|
||||
})
|
||||
const currentModel = computed(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue