This commit is contained in:
@@ -534,7 +534,7 @@
|
|||||||
有新版会提示 → 点「稍后」收起 → **断网后页面骨架仍能打开**
|
有新版会提示 → 点「稍后」收起 → **断网后页面骨架仍能打开**
|
||||||
- 跑法:后端用 `WEB_DIST_DIR=<repo>/web/dist` 起一个同构站点(生产同形),
|
- 跑法:后端用 `WEB_DIST_DIR=<repo>/web/dist` 起一个同构站点(生产同形),
|
||||||
然后 `node web/e2e/pwa.mjs`;`BASE` 可换环境
|
然后 `node web/e2e/pwa.mjs`;`BASE` 可换环境
|
||||||
- 截图:`web/e2e/artifacts/pwa-install-hint.png`、`pwa-update-prompt.png`、`pwa-offline.png`
|
- 截图:`2.Design/screens/web-pwa-install.png`、`web-pwa-update.png`;断网那张留在 `web/e2e/artifacts/pwa-offline.png`
|
||||||
|
|
||||||
### 8.5 还没解开的
|
### 8.5 还没解开的
|
||||||
- **生产入口还是 http**:Service Worker 只在 https / localhost 注册,所以内网 IP 上装不了、
|
- **生产入口还是 http**:Service Worker 只在 https / localhost 注册,所以内网 IP 上装不了、
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Reference in New Issue
Block a user