Skip to content

Commit d8d03b0

Browse files
committed
fix: Paragraph card
1 parent e5397af commit d8d03b0

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailContent.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ const props = defineProps<{
636636
appType?: string
637637
}>()
638638
639-
console.log(props)
640639
641640
const messageList = computed(() => {
642641
const chat_step = props.detail?.find(item => item.step_type == "chat_step")
@@ -689,7 +688,6 @@ const historyRecord = computed<any>(() => {
689688
}
690689
})
691690
const messages = messageList.value.filter((item: any) => item.role != "system")
692-
console.log(messages)
693691
694692
const currentChat = computed(() => {
695693
if (messageList.value) {

ui/src/views/paragraph/component/ParagraphCard.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ const props = defineProps<{
139139
showMoveDown?: boolean
140140
}>()
141141
142-
console.log(props)
143142
144143
const route = useRoute()
145144
const {

ui/src/views/paragraph/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<VueDraggable
8686
ref="el"
8787
v-model="paragraphDetail"
88-
:disabled="isBatch === true || shareDisabled"
88+
:disabled="isBatch === true || shareDisabled || !permissionPrecise.doc_edit(id)"
8989
handle=".handle"
9090
:animation="150"
9191
ghostClass="ghost"

0 commit comments

Comments
 (0)