perf: clear console

This commit is contained in:
wangdan-fit2cloud 2025-07-16 16:09:22 +08:00
parent 2c606b9190
commit 2b89fc05d1
9 changed files with 1 additions and 16 deletions

View File

@ -483,7 +483,6 @@ const handlePaste = (event: ClipboardEvent) => {
} }
// //
const handleDrop = (event: DragEvent) => { const handleDrop = (event: DragEvent) => {
console.log(event)
if (!props.applicationDetails.file_upload_enable) return if (!props.applicationDetails.file_upload_enable) return
event.preventDefault() event.preventDefault()
const files = event.dataTransfer?.files const files = event.dataTransfer?.files

View File

@ -120,7 +120,6 @@ function deleteMark() {
} }
function getMark(data: any) { function getMark(data: any) {
console.log(data)
chatLogApi chatLogApi
.getMarkChatRecord(id as string, data.chat_id, data.id, loading) .getMarkChatRecord(id as string, data.chat_id, data.id, loading)
.then((res: any) => { .then((res: any) => {

View File

@ -23,8 +23,6 @@ const {
query: { mode }, query: { mode },
} = route as any } = route as any
console.log(mode)
const currentTemplate = computed(() => { const currentTemplate = computed(() => {
let modeName = '' let modeName = ''
if (chatUser.application) { if (chatUser.application) {

View File

@ -236,16 +236,12 @@ function changeState(id: string) {
} }
function refreshMigrateParagraph(data: any) { function refreshMigrateParagraph(data: any) {
console.log(data)
if (data) { if (data) {
multipleSelection.value = [data.id] multipleSelection.value = [data.id]
} }
console.log(paragraphDetail.value)
console.log(multipleSelection.value)
paragraphDetail.value = paragraphDetail.value.filter( paragraphDetail.value = paragraphDetail.value.filter(
(v) => !multipleSelection.value.includes(v.id), (v) => !multipleSelection.value.includes(v.id),
) )
console.log(paragraphDetail.value)
multipleSelection.value = [] multipleSelection.value = []
MsgSuccess(t('views.document.tip.migrationSuccess')) MsgSuccess(t('views.document.tip.migrationSuccess'))
} }

View File

@ -172,7 +172,6 @@ const permissionObj = ref<any>({
'OR', 'OR',
), ),
}) })
console.log(route.meta.resource || 'APPLICATION')
const settingTags = reactive([ const settingTags = reactive([
{ {
label: t('views.knowledge.title'), label: t('views.knowledge.title'),

View File

@ -650,7 +650,6 @@ onMounted(() => {
.then((res: any) => { .then((res: any) => {
user_options.value = res.data user_options.value = res.data
}) })
console.log(apiType.value)
}) })
</script> </script>

View File

@ -169,8 +169,6 @@ function refreshFieldList(data: any, index: any) {
function refreshFieldTitle(data: any) { function refreshFieldTitle(data: any) {
inputFieldConfig.value = data inputFieldConfig.value = data
UserInputTitleDialogRef.value.close() UserInputTitleDialogRef.value.close()
// console.log('inputFieldConfig', inputFieldConfig.value)
} }
const getDefaultValue = (row: any) => { const getDefaultValue = (row: any) => {

View File

@ -274,7 +274,6 @@ function changeTool() {
form_data.value.mcp_server = form_data.value.mcp_tools.find( form_data.value.mcp_server = form_data.value.mcp_tools.find(
(item: any) => item.name === form_data.value.mcp_tool, (item: any) => item.name === form_data.value.mcp_tool,
)?.server )?.server
// console.log(form_data.value.mcp_server)
const args_schema = form_data.value.mcp_tools.find( const args_schema = form_data.value.mcp_tools.find(
(item: any) => item.name === form_data.value.mcp_tool, (item: any) => item.name === form_data.value.mcp_tool,
@ -297,7 +296,6 @@ function changeTool() {
} else if (params[item2].type === 'object') { } else if (params[item2].type === 'object') {
input_type = 'JsonInput' input_type = 'JsonInput'
} }
console.log(params[item2])
form_data.value.tool_form_field.push({ form_data.value.tool_form_field.push({
field: item2, field: item2,
label: { label: {
@ -334,7 +332,6 @@ function changeTool() {
} else if (args_schema.properties[item].type === 'object') { } else if (args_schema.properties[item].type === 'object') {
input_type = 'JsonInput' input_type = 'JsonInput'
} }
console.log(args_schema.properties[item])
form_data.value.tool_form_field.push({ form_data.value.tool_form_field.push({
field: item, field: item,
label: { label: {

View File

@ -217,7 +217,7 @@ const validate = () => {
} }
onMounted(() => { onMounted(() => {
console.log(props.nodeModel.properties.node_data) // console.log(props.nodeModel.properties.node_data)
knowledgeList.value = props.nodeModel.properties.node_data.knowledge_list knowledgeList.value = props.nodeModel.properties.node_data.knowledge_list
set(props.nodeModel, 'validate', validate) set(props.nodeModel, 'validate', validate)
}) })