diff --git a/docs/.vuepress/markdown/img-add-attrs.js b/docs/.vuepress/markdown/img-add-attrs.js index 16d8daeed2958b7dfa6415b18ea8dfc725b357b0..bbe687008f03941cf77bd42d55290ed55582d612 100644 --- a/docs/.vuepress/markdown/img-add-attrs.js +++ b/docs/.vuepress/markdown/img-add-attrs.js @@ -40,7 +40,7 @@ function addLoadingAttr(attribs) { */ function matchSrc(src) { return typeof src === 'string' - ? src.indexOf('qiniu-web-assets.dcloud.net.cn') > -1 + ? (src.indexOf('qiniu-web-assets.dcloud.net.cn') > -1 || src.indexOf('web-ext-storage.dcloud.net.cn') > -1) : false; } @@ -61,6 +61,7 @@ function replaceHTML(token, replace, env) { const htmlparser = require('htmlparser2'); const serializer = require('dom-serializer'); const dom = new htmlparser.parseDocument(token.content, { + lowerCaseTags: false, recognizeCDATA: true, recognizeSelfClosing: true, }); diff --git a/docs/tutorial/vue3-pinia.md b/docs/tutorial/vue3-pinia.md index f50f9ceb236b4bbbb74478b74dd427ccbbcece86..b14946209ab4f9e02fb402396049e7f7b59cb89c 100644 --- a/docs/tutorial/vue3-pinia.md +++ b/docs/tutorial/vue3-pinia.md @@ -4,7 +4,7 @@ > uni-app 内置了 [Pinia](https://pinia.vuejs.org/zh/index.html) 。Vue 2 项目暂不支持 -> 使用 `HBuilder X` 不需要手动安装,直接使用即可。使用 `CLI` 需要手动安装,执行 `yarn add pinia@2.0.33` 或 `npm install pinia@2.0.33`。 +> 使用 `HBuilder X` 不需要手动安装,直接使用即可。使用 `CLI` 需要手动安装,执行 `yarn add pinia@2.0.36` 或 `npm install pinia@2.0.36`。 ### Pinia 是什么?