wwt-certificate-tool 1.2.29 → 1.2.30
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 -4
- 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.30</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.30</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.30';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,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ver": "P1.2.
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
2
|
+
"ver": "P1.2.30",
|
|
3
|
+
"npm": "1.2.30",
|
|
4
|
+
"url": "https://cdn.jsdelivr.net/npm/wwt-certificate-tool@1.2.30/dist/app.html",
|
|
5
|
+
"url_unpkg": "https://unpkg.com/wwt-certificate-tool@1.2.30/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.30.html",
|
|
7
|
+
"note": "更新源改为 npm 包 + jsDelivr CDN:① 包 wwt-certificate-tool 已发布到 npm(账号 mrhu1988),jsDelivr/unpkg 自动镜像,国内可用、不限流;② 修正 npmmirror 不可用根因——其 /files/ 端点需 cnpm unpkg 白名单,新包不在名单内会 403 FORBIDDEN,改为仅用 npmmirror /latest 查版本号(不需白名单,约100ms);③ 下载改走 jsDelivr(1.2MB 实测 0.56 秒)→ unpkg → Gitee(重试2次) → GitHub → 本地版;④ 保留 24 小时降频。"
|
|
6
8
|
}
|