From b1282c8169afa4f5bcb823a9410a44391c710e0e Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Sun, 22 Feb 2026 13:29:35 +0800 Subject: [PATCH] don't init props in fieldsForUseCommonConfig with true in boss.json --- .../default-config-file/boss.json | 8 +------- .../geek-auto-start-chat-with-boss/runtime-file-utils.mjs | 7 ------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json b/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json index 66b1005..8eb4dfe 100644 --- a/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json +++ b/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json @@ -40,11 +40,5 @@ "sageTimeOpTimes": 100, "sageTimePauseMinute": 15, "blockCompanyNameRegExpStr": "", - "fieldsForUseCommonConfig": { - "city": true, - "salary": true, - "jobDetail": true, - "blockCompanyNameRegExpStr": true, - "expectCompanies": true - } + "fieldsForUseCommonConfig": {} } \ No newline at end of file diff --git a/packages/geek-auto-start-chat-with-boss/runtime-file-utils.mjs b/packages/geek-auto-start-chat-with-boss/runtime-file-utils.mjs index a3f7e41..0b9f555 100644 --- a/packages/geek-auto-start-chat-with-boss/runtime-file-utils.mjs +++ b/packages/geek-auto-start-chat-with-boss/runtime-file-utils.mjs @@ -115,13 +115,6 @@ if ( if (!bossConfig.fieldsForUseCommonConfig) { bossConfig.fieldsForUseCommonConfig = {} } - Object.assign(bossConfig.fieldsForUseCommonConfig, { - city: true, - salary: true, - jobDetail: true, - blockCompanyNameRegExpStr: true, - expectCompanies: true - }) writeConfigFile('boss.json', bossConfig, { isSync: true }) } }