stellar-ui-plus 1.22.14 → 1.22.15

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.
@@ -47,10 +47,9 @@ const getData = (callback?: (resVersion: { name: string; code: string; updateFil
47
47
  data.name = _data.data.name;
48
48
  data.content = _data.data.content + _data.data.desc;
49
49
  data.isForce = _data.data.isForce;
50
- // 强制更新使用全量包,否则如果增量包存在使用增量包,不存在则使用全量
51
- data.updateFile = data.isForce ? _data.data.entireFile : _data.data.updateFile || _data.data.entireFile;
50
+ data.updateFile = _data.data.entireFile ? _data.data.entireFile : _data.data.updateFile;
51
+ data.package_type = _data.data.entireFile ? 0 : 1;
52
52
  callback && callback({ code: _data.data.code, name: _data.data.name, updateFile: data.updateFile }, version.value);
53
- data.package_type = data.isForce ? 0 : 1 || 0;
54
53
  if (data.updateFile && data.code > version.value) {
55
54
  open.value = true;
56
55
  emits('update');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellar-ui-plus",
3
- "version": "1.22.14",
3
+ "version": "1.22.15",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",