@doreamonjs/plugin-log 1.10.64 → 1.12.18
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/CHANGELOG.md +19 -0
- package/lib/model.js +14 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.12.18](https://github.com/doreamonjs/doreamon/compare/v1.12.17...v1.12.18) (2024-08-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* plugin log logic with gate.global.log ([25ed044](https://github.com/doreamonjs/doreamon/commit/25ed04433ebcff6bfd6b85f921efbe8ae2fd0792))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.10.91](https://github.com/doreamonjs/doreamon/compare/v1.10.90...v1.10.91) (2024-03-04)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @doreamonjs/plugin-log
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [1.10.64](https://github.com/doreamonjs/doreamon/compare/v1.10.63...v1.10.64) (2024-01-25)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @doreamonjs/plugin-log
|
package/lib/model.js
CHANGED
|
@@ -108,7 +108,20 @@ class Model {
|
|
|
108
108
|
const { target } = attributes || {};
|
|
109
109
|
const { namespace, effect, props } = target || {};
|
|
110
110
|
const nextEffect = `${namespace}/${effect}`;
|
|
111
|
-
yield put({
|
|
111
|
+
yield put({
|
|
112
|
+
type: 'save',
|
|
113
|
+
payload: {
|
|
114
|
+
visible: false,
|
|
115
|
+
// reset
|
|
116
|
+
attributes: {
|
|
117
|
+
type: 'modal',
|
|
118
|
+
title: '日志',
|
|
119
|
+
},
|
|
120
|
+
datasets: {
|
|
121
|
+
values: {},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
});
|
|
112
125
|
yield put({ ...props, type: nextEffect, payload: datasets });
|
|
113
126
|
yield take(`${nextEffect}/@@end`);
|
|
114
127
|
yield put({ type: 'queue/out' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doreamonjs/plugin-log",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.18",
|
|
4
4
|
"description": "log plugin for doreamonjs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"doreamonjs",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@doreamonjs/plugin-shared": "^1.1.28",
|
|
69
|
-
"@doreamonjs/request": "^1.10.
|
|
69
|
+
"@doreamonjs/request": "^1.10.91",
|
|
70
70
|
"@sentry/browser": "^7.11.1",
|
|
71
71
|
"@sentry/tracing": "^7.11.1",
|
|
72
72
|
"@zcorky/delay": "^1.0.1",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"mixpanel-browser": "^2.45.0",
|
|
78
78
|
"thinkingdata-browser": "^1.6.0"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "50255b5dcb9d8917646f06c58940648b14fe231a"
|
|
81
81
|
}
|