@doreamonjs/plugin-log 1.10.91 → 1.12.19

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 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.19](https://github.com/doreamonjs/doreamon/compare/v1.12.18...v1.12.19) (2024-08-01)
7
+
8
+ **Note:** Version bump only for package @doreamonjs/plugin-log
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.12.18](https://github.com/doreamonjs/doreamon/compare/v1.12.17...v1.12.18) (2024-08-01)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * plugin log logic with gate.global.log ([25ed044](https://github.com/doreamonjs/doreamon/commit/25ed04433ebcff6bfd6b85f921efbe8ae2fd0792))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.10.91](https://github.com/doreamonjs/doreamon/compare/v1.10.90...v1.10.91) (2024-03-04)
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({ type: 'save', payload: { visible: false } });
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.10.91",
3
+ "version": "1.12.19",
4
4
  "description": "log plugin for doreamonjs",
5
5
  "keywords": [
6
6
  "doreamonjs",
@@ -77,5 +77,5 @@
77
77
  "mixpanel-browser": "^2.45.0",
78
78
  "thinkingdata-browser": "^1.6.0"
79
79
  },
80
- "gitHead": "34bbab96bce1f1f7a359f3bdff9c52544b11471f"
80
+ "gitHead": "c5aafbf95c3f8d213f2c9412a38fae9d0f6b1880"
81
81
  }