diff --git a/.env.example b/.env.example index 2d5f4ff..c91c8cd 100644 --- a/.env.example +++ b/.env.example @@ -71,7 +71,6 @@ JIRA_PASSWORD= JIRA_API_TOKEN= JIRA_AUTH_TYPE=basic JIRA_TIMEOUT=30 -JIRA_DEFAULT_USER= # CRM Slave Database Configuration CRMSLAVE_DB_HOST=127.0.0.1 diff --git a/config/jira.php b/config/jira.php index c8f1ae3..295e8c5 100644 --- a/config/jira.php +++ b/config/jira.php @@ -27,6 +27,6 @@ return [ 'AM' => 'AM', ], - // 默认用户(如果未指定) - 'default_user' => env('JIRA_DEFAULT_USER'), + // 默认查询用户(如果未指定,默认使用 JIRA_USERNAME) + 'default_user' => env('JIRA_USERNAME'), ]; diff --git a/resources/js/components/admin/AdminDashboard.vue b/resources/js/components/admin/AdminDashboard.vue index 9ad29ff..32914bc 100644 --- a/resources/js/components/admin/AdminDashboard.vue +++ b/resources/js/components/admin/AdminDashboard.vue @@ -40,16 +40,7 @@ /> -
此功能正在开发中...
-仅对当前浏览器生效的本地配置。
++ 设置“JIRA 默认查询用户”(仅本地浏览器生效)。填写后将优先用于周报/工时等页面的默认用户名。 +
+留空并保存(或点击清除)将使用服务端默认值。
+