docs: annotate payment, host operations and shared components
This commit is contained in:
1 parent
d37ce57d09
commit
dc32a74d7a
17 files changed
+100
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
/** 分类订购说明:兼容被 HTML 实体编码的文本,清理富文本后仅在存在可见内容时展示。 */
|
||||
import "~/assets/styles/ProductCategoryNotice.CwaR3eXN.css";
|
||||
import { normalizeClass } from "vue";
|
||||
import { createCommentVNode } from "vue";
|
||||
@@ -28,6 +29,7 @@ var u = {
|
||||
setup(o) {
|
||||
let c = o,
|
||||
f = computed(() => {
|
||||
// 最多解码两轮纯文本包装,随后统一消毒;图片也算有效内容,空白占位不显示。
|
||||
let e = typeof c.description == `string` ? c.description : ``;
|
||||
for (let t = 0; t < 2; t++) {
|
||||
let t = new DOMParser().parseFromString(e, `text/html`);
|
||||
|
||||
Reference in new issue
Block a user