wwt-certificate-tool 1.2.30 → 1.2.31
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/app.html +3 -3
- package/dist/version.json +6 -6
- package/package.json +1 -1
package/dist/app.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
-
<title>WWT 金蝶凭证工具 · 纯前端版 P1.2.
|
|
6
|
+
<title>WWT 金蝶凭证工具 · 纯前端版 P1.2.31</title>
|
|
7
7
|
<style>*{box-sizing:border-box;margin:0;padding:0}
|
|
8
8
|
body{font-family:"Microsoft YaHei","PingFang SC",-apple-system,Segoe UI,sans-serif;font-size:13px;color:#1f2328;background:#f4f6f9;line-height:1.6}
|
|
9
9
|
h1{font-size:17px;font-weight:600}
|
|
@@ -293,7 +293,7 @@ tr.bad:hover td{background:#fbe9e9}
|
|
|
293
293
|
<div class="brand">
|
|
294
294
|
<span class="logo">WWT</span>
|
|
295
295
|
<div>
|
|
296
|
-
<h1>金蝶凭证工具 <span class="ver">P1.2.
|
|
296
|
+
<h1>金蝶凭证工具 <span class="ver">P1.2.31</span></h1>
|
|
297
297
|
<div class="sub">纯前端离线版 · 双击即用 · 数据只存在本机,不上传任何服务器</div>
|
|
298
298
|
</div>
|
|
299
299
|
</div>
|
|
@@ -3311,7 +3311,7 @@ const S = window.__STATE__ = {
|
|
|
3311
3311
|
};
|
|
3312
3312
|
|
|
3313
3313
|
/* ---------------- 版本 & 框架自动更新(只更新程序本身,本地数据/规则不动) ---------------- */
|
|
3314
|
-
const WWT_VER=(function(){const raw='P1.2.
|
|
3314
|
+
const WWT_VER=(function(){const raw='P1.2.31';return raw.indexOf('__WVER__')>=0?'P1.2.10':raw;})();
|
|
3315
3315
|
const UPD_URL_KEY='wwt_fe_updurl';
|
|
3316
3316
|
// 默认更新源:Gitee 上本项目的 version.json(API 接口,浏览器可直接跨域读)
|
|
3317
3317
|
const DEFAULT_UPD_URL='https://gitee.com/api/v5/repos/wwtmrhu/certificate-generation/contents/dist/version.json';
|
package/dist/version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ver": "P1.2.
|
|
3
|
-
"npm": "1.2.
|
|
4
|
-
"url": "https://cdn.jsdelivr.net/npm/wwt-certificate-tool@1.2.
|
|
5
|
-
"url_unpkg": "https://unpkg.com/wwt-certificate-tool@1.2.
|
|
6
|
-
"url_gh": "https://api.github.com/repos/huweipei745839/certificate-generation/contents/dist/WWT%E5%87%AD%E8%AF%81%E5%B7%A5%E5%85%B7_P1.2.
|
|
7
|
-
"note": "
|
|
2
|
+
"ver": "P1.2.31",
|
|
3
|
+
"npm": "1.2.31",
|
|
4
|
+
"url": "https://cdn.jsdelivr.net/npm/wwt-certificate-tool@1.2.31/dist/app.html",
|
|
5
|
+
"url_unpkg": "https://unpkg.com/wwt-certificate-tool@1.2.31/dist/app.html",
|
|
6
|
+
"url_gh": "https://api.github.com/repos/huweipei745839/certificate-generation/contents/dist/WWT%E5%87%AD%E8%AF%81%E5%B7%A5%E5%85%B7_P1.2.31.html",
|
|
7
|
+
"note": "修复「下载更新后打不开」:openApp 原先把入参无脑当 base64 解码,而 jsDelivr/unpkg 返回的是明文 HTML → InvalidCharacterError(表现:下载成功却提示失败)。现自动识别(以 < 开头即明文)。另含 P1.2.30 的更新源改造:改走 npm 包 wwt-certificate-tool + jsDelivr CDN(npmmirror /files/ 需 cnpm 白名单,新包不可用,仅用其 /latest 查版本号)。"
|
|
8
8
|
}
|