Test #2

Merged
duzhichao merged 34 commits from test into prod 2026-11-19 07:44:04 +00:00
3 changed files with 13 additions and 1 deletions
Showing only changes of commit 04f01cf5a6 - Show all commits
+1 -1
View File
@@ -6,7 +6,7 @@
REACT_APP_AMAP_KEY=7df3685709e341daed76e877e417e5be
# Cesium Ion Token
REACT_APP_CESIUM_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzNDNmZDVhOC0xMDFjLTQ4YmUtYmQ1YS0zYjdjNTFjMzVlYjMiLCJpZCI6MjU5LCJpYXQiOjE3NzQ0MTY4MDN9.aymrLJz62c7X0uDN4EBrgR6wWDlkoUAhlwzs8e5Hb2U
REACT_APP_CESIUM_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5NjhjNDBlMS02OTBiLTQ5OWMtYjk3Mi04NjdiM2I4N2E4NDYiLCJpZCI6MzYxMzMzLCJpYXQiOjE3NjM0NDIxOTh9.PxIgncOzYVrDY17SWVJWD7U-9A1Wnomac8GEdcAYOeM
# ========== WebSocket服务配置 ==========
+1
View File
@@ -39,6 +39,7 @@ export default {
config.plugin('define').tap((definitions: any) => {
Object.assign(definitions[0], {
'process.env.CESIUM_BASE_URL': JSON.stringify(isDev ? '/' : (APP_BASE.endsWith('/') ? APP_BASE : APP_BASE + '/')),
'process.env.REACT_APP_CESIUM_TOKEN': JSON.stringify(process.env.REACT_APP_CESIUM_TOKEN || ''),
});
return definitions;
});
@@ -93,6 +93,17 @@
}
}
// 覆盖浏览器自动填充的白色背景(含验证码输入框)
.login-form :global(.ant-input-affix-wrapper input:-webkit-autofill),
.login-form :global(.ant-input-group input:-webkit-autofill),
.login-form :global(.ant-input:-webkit-autofill),
.login-form :global(.ant-input:-webkit-autofill:hover),
.login-form :global(.ant-input:-webkit-autofill:focus) {
-webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.3) inset !important;
-webkit-text-fill-color: #fff !important;
transition: background-color 5000s ease-in-out 0s;
}
.login-form :global(.ant-input::placeholder) {
color: rgba(255, 255, 255, 0.4) !important;
}