mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: clear console
This commit is contained in:
parent
2c606b9190
commit
2b89fc05d1
|
|
@ -483,7 +483,6 @@ const handlePaste = (event: ClipboardEvent) => {
|
|||
}
|
||||
// 新增拖拽处理
|
||||
const handleDrop = (event: DragEvent) => {
|
||||
console.log(event)
|
||||
if (!props.applicationDetails.file_upload_enable) return
|
||||
event.preventDefault()
|
||||
const files = event.dataTransfer?.files
|
||||
|
|
|
|||
|
|
@ -120,7 +120,6 @@ function deleteMark() {
|
|||
}
|
||||
|
||||
function getMark(data: any) {
|
||||
console.log(data)
|
||||
chatLogApi
|
||||
.getMarkChatRecord(id as string, data.chat_id, data.id, loading)
|
||||
.then((res: any) => {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@ const {
|
|||
query: { mode },
|
||||
} = route as any
|
||||
|
||||
|
||||
console.log(mode)
|
||||
const currentTemplate = computed(() => {
|
||||
let modeName = ''
|
||||
if (chatUser.application) {
|
||||
|
|
|
|||
|
|
@ -236,16 +236,12 @@ function changeState(id: string) {
|
|||
}
|
||||
|
||||
function refreshMigrateParagraph(data: any) {
|
||||
console.log(data)
|
||||
if (data) {
|
||||
multipleSelection.value = [data.id]
|
||||
}
|
||||
console.log(paragraphDetail.value)
|
||||
console.log(multipleSelection.value)
|
||||
paragraphDetail.value = paragraphDetail.value.filter(
|
||||
(v) => !multipleSelection.value.includes(v.id),
|
||||
)
|
||||
console.log(paragraphDetail.value)
|
||||
multipleSelection.value = []
|
||||
MsgSuccess(t('views.document.tip.migrationSuccess'))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@ const permissionObj = ref<any>({
|
|||
'OR',
|
||||
),
|
||||
})
|
||||
console.log(route.meta.resource || 'APPLICATION')
|
||||
const settingTags = reactive([
|
||||
{
|
||||
label: t('views.knowledge.title'),
|
||||
|
|
|
|||
|
|
@ -650,7 +650,6 @@ onMounted(() => {
|
|||
.then((res: any) => {
|
||||
user_options.value = res.data
|
||||
})
|
||||
console.log(apiType.value)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -169,8 +169,6 @@ function refreshFieldList(data: any, index: any) {
|
|||
function refreshFieldTitle(data: any) {
|
||||
inputFieldConfig.value = data
|
||||
UserInputTitleDialogRef.value.close()
|
||||
|
||||
// console.log('inputFieldConfig', inputFieldConfig.value)
|
||||
}
|
||||
|
||||
const getDefaultValue = (row: any) => {
|
||||
|
|
|
|||
|
|
@ -274,7 +274,6 @@ function changeTool() {
|
|||
form_data.value.mcp_server = form_data.value.mcp_tools.find(
|
||||
(item: any) => item.name === form_data.value.mcp_tool,
|
||||
)?.server
|
||||
// console.log(form_data.value.mcp_server)
|
||||
|
||||
const args_schema = form_data.value.mcp_tools.find(
|
||||
(item: any) => item.name === form_data.value.mcp_tool,
|
||||
|
|
@ -297,7 +296,6 @@ function changeTool() {
|
|||
} else if (params[item2].type === 'object') {
|
||||
input_type = 'JsonInput'
|
||||
}
|
||||
console.log(params[item2])
|
||||
form_data.value.tool_form_field.push({
|
||||
field: item2,
|
||||
label: {
|
||||
|
|
@ -334,7 +332,6 @@ function changeTool() {
|
|||
} else if (args_schema.properties[item].type === 'object') {
|
||||
input_type = 'JsonInput'
|
||||
}
|
||||
console.log(args_schema.properties[item])
|
||||
form_data.value.tool_form_field.push({
|
||||
field: item,
|
||||
label: {
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ const validate = () => {
|
|||
}
|
||||
|
||||
onMounted(() => {
|
||||
console.log(props.nodeModel.properties.node_data)
|
||||
// console.log(props.nodeModel.properties.node_data)
|
||||
knowledgeList.value = props.nodeModel.properties.node_data.knowledge_list
|
||||
set(props.nodeModel, 'validate', validate)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue