lupine.web 1.0.17 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lupine.web",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "license": "MIT",
5
5
  "author": "uuware.com",
6
6
  "homepage": "https://uuware.com/",
@@ -159,10 +159,11 @@ if (typeof document !== 'undefined') {
159
159
  });
160
160
  }
161
161
 
162
- const clearGlobalStyles = () => {
163
- // reset unique id
164
- _globalStyle.clear();
165
- };
162
+ // 不能清空,在index.tsx中加载的只会被加载一次,清空了就没有了
163
+ // const clearGlobalStyles = () => {
164
+ // // reset unique id
165
+ // _globalStyle.clear();
166
+ // };
166
167
  // bindPageResetEvent(clearGlobalStyles);
167
168
 
168
169
  export const generateAllGlobalStyles = () => {
@@ -175,6 +176,6 @@ export const generateAllGlobalStyles = () => {
175
176
  result.push(`<style id="sty-${uniqueStyleId}">${cssText}</style>`);
176
177
  }
177
178
 
178
- clearGlobalStyles();
179
+ // clearGlobalStyles();
179
180
  return result.join('');
180
181
  };