fix: Paragraph card

This commit is contained in:
zhangzhanwei 2025-07-16 13:41:13 +08:00 committed by zhanweizhang7
parent e5397af848
commit 2fbeb4300f
3 changed files with 1 additions and 4 deletions

View File

@ -636,7 +636,6 @@ const props = defineProps<{
appType?: string appType?: string
}>() }>()
console.log(props)
const messageList = computed(() => { const messageList = computed(() => {
const chat_step = props.detail?.find(item => item.step_type == "chat_step") const chat_step = props.detail?.find(item => item.step_type == "chat_step")
@ -689,7 +688,6 @@ const historyRecord = computed<any>(() => {
} }
}) })
const messages = messageList.value.filter((item: any) => item.role != "system") const messages = messageList.value.filter((item: any) => item.role != "system")
console.log(messages)
const currentChat = computed(() => { const currentChat = computed(() => {
if (messageList.value) { if (messageList.value) {

View File

@ -139,7 +139,6 @@ const props = defineProps<{
showMoveDown?: boolean showMoveDown?: boolean
}>() }>()
console.log(props)
const route = useRoute() const route = useRoute()
const { const {

View File

@ -85,7 +85,7 @@
<VueDraggable <VueDraggable
ref="el" ref="el"
v-model="paragraphDetail" v-model="paragraphDetail"
:disabled="isBatch === true || shareDisabled" :disabled="isBatch === true || shareDisabled || !permissionPrecise.doc_edit(id)"
handle=".handle" handle=".handle"
:animation="150" :animation="150"
ghostClass="ghost" ghostClass="ghost"