@taicode/common-web 4.0.0-beta.1 → 4.0.0-beta.2
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.
|
@@ -438,9 +438,9 @@ let SigninService = (() => {
|
|
|
438
438
|
* 初始化服务
|
|
439
439
|
*/
|
|
440
440
|
async init() {
|
|
441
|
-
this.disposer.
|
|
441
|
+
this.disposer.add(() => this.cleanup());
|
|
442
442
|
// 监听状态变化并自动保存
|
|
443
|
-
this.disposer.
|
|
443
|
+
this.disposer.add(reaction(() => ({
|
|
444
444
|
ticket: this.ticket,
|
|
445
445
|
dialogStatus: this.dialogStatus,
|
|
446
446
|
errorMessage: this.errorMessage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taicode/common-web",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.2",
|
|
4
4
|
"author": "Alain",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"mobx": ">=6",
|
|
55
55
|
"mobx-react-lite": "^4.1.1",
|
|
56
56
|
"react": ">=18",
|
|
57
|
-
"@taicode/common-base": "^4.0.0-beta.
|
|
57
|
+
"@taicode/common-base": "^4.0.0-beta.2"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@headlessui/react": "^2.2.9",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"vite-plugin-svgr": "^4.5.0",
|
|
108
108
|
"vite-tsconfig-paths": "^5.1.4",
|
|
109
109
|
"vitest": "^4.1.9",
|
|
110
|
-
"@taicode/common-base": "^4.0.0-beta.
|
|
110
|
+
"@taicode/common-base": "^4.0.0-beta.2"
|
|
111
111
|
},
|
|
112
112
|
"scripts": {
|
|
113
113
|
"test": "vitest",
|