wargerm 0.7.16 → 0.7.17

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/dist/index.esm.js CHANGED
@@ -11036,18 +11036,20 @@ function DhPlayer(_ref, ref) {
11036
11036
  setDhErrorMsg(err.message);
11037
11037
 
11038
11038
  if (err.code == 1001) {
11039
- if (errorTipsRef.current) return;
11040
- api.error({
11041
- message: "".concat(err.message),
11042
- description: /*#__PURE__*/React.createElement("span", null, "\u8BF7\u4E0B\u8F7D\u63D2\u4EF6\u540E\uFF0C\u53CC\u51FB\u8FD0\u884C\uFF1A", /*#__PURE__*/React.createElement("a", {
11043
- href: "https://static.eblssmart.com/lfhz/DHPlayer_x64.zip",
11044
- style: {
11045
- 'textDecoration': 'underline'
11046
- }
11047
- }, "\u70B9\u51FB\u4E0B\u8F7D")),
11048
- placement: 'top',
11049
- duration: null
11050
- });
11039
+ if (errorTipsRef.current) return; // api.error({
11040
+ // message: `${err.message}`,
11041
+ // description: (
11042
+ // <span>
11043
+ // 请下载插件后,双击运行:
11044
+ // <a href="https://static.eblssmart.com/lfhz/DHPlayer_x64.zip" style={{ 'textDecoration': 'underline' }}>
11045
+ // 点击下载
11046
+ // </a>
11047
+ // </span>
11048
+ // ),
11049
+ // placement: 'top',
11050
+ // duration: null,
11051
+ // });
11052
+
11051
11053
  errorTipsRef.current = true;
11052
11054
  } else {
11053
11055
  api.error({
package/dist/index.js CHANGED
@@ -11080,18 +11080,20 @@ function DhPlayer(_ref, ref) {
11080
11080
  setDhErrorMsg(err.message);
11081
11081
 
11082
11082
  if (err.code == 1001) {
11083
- if (errorTipsRef.current) return;
11084
- api.error({
11085
- message: "".concat(err.message),
11086
- description: /*#__PURE__*/React__default['default'].createElement("span", null, "\u8BF7\u4E0B\u8F7D\u63D2\u4EF6\u540E\uFF0C\u53CC\u51FB\u8FD0\u884C\uFF1A", /*#__PURE__*/React__default['default'].createElement("a", {
11087
- href: "https://static.eblssmart.com/lfhz/DHPlayer_x64.zip",
11088
- style: {
11089
- 'textDecoration': 'underline'
11090
- }
11091
- }, "\u70B9\u51FB\u4E0B\u8F7D")),
11092
- placement: 'top',
11093
- duration: null
11094
- });
11083
+ if (errorTipsRef.current) return; // api.error({
11084
+ // message: `${err.message}`,
11085
+ // description: (
11086
+ // <span>
11087
+ // 请下载插件后,双击运行:
11088
+ // <a href="https://static.eblssmart.com/lfhz/DHPlayer_x64.zip" style={{ 'textDecoration': 'underline' }}>
11089
+ // 点击下载
11090
+ // </a>
11091
+ // </span>
11092
+ // ),
11093
+ // placement: 'top',
11094
+ // duration: null,
11095
+ // });
11096
+
11095
11097
  errorTipsRef.current = true;
11096
11098
  } else {
11097
11099
  api.error({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.16",
4
+ "version": "0.7.17",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",