af-mobile-client-vue3 1.4.6 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.4.6",
4
+ "version": "1.4.8",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -620,7 +620,7 @@ function onCalendarConfirm(values) {
620
620
  // js 函数作为数据源
621
621
  async function updateOptions() {
622
622
  if (attr.keyName && (attr.keyName.toString().includes('async ') || attr.keyName.toString().includes('function '))) {
623
- option.value = await executeStrFunctionByContext(this, attr.keyName, [props.form, runLogic, props.mode, getConfigByNameAsync, post])
623
+ option.value = await executeStrFunctionByContext(currInst, attr.keyName, [props.form, runLogic, props.mode, getConfigByNameAsync, post])
624
624
  }
625
625
  }
626
626
 
@@ -89,8 +89,16 @@ html:not(.dark) {
89
89
  }
90
90
  .login_form {
91
91
  margin-top: 65px;
92
- background-color: white !important;
93
92
  z-index: 10;
93
+ // 正常模式:白色背景
94
+ html:not(.dark) & {
95
+ background-color: white !important;
96
+ }
97
+
98
+ // 深色模式:黑色背景
99
+ html.dark & {
100
+ background-color: rgb(28, 28, 30) !important;
101
+ }
94
102
  }
95
103
  .forget_password_form {
96
104
  margin-top: 15px;