Skip to content

Commit

Permalink
fix: html 中,数据换成原生
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxn27 committed Dec 25, 2024
1 parent 72fdeb3 commit 0d86494
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/link_subset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,14 @@
<!-- 每个包的数据 -->
<template id="pkg-list">
<van-cell-group inset title="字体分包详情">
<van-collapse v-model="activeNames" ref="collapse">
<van-collapse-item
v-for="(pkg) in reporter.subsetDetail??[]"
:title="pkg.hash"
:name="pkg.hash"
>
<span> {{String.fromCodePoint(...pkg.chars)}} </span>
</van-collapse-item>
</van-collapse>
<div
v-for="(pkg) in reporter.subsetDetail??[]"
:title="pkg.hash"
:name="pkg.hash"
>
<div>{{pkg.hash}}</div>
<span> {{String.fromCodePoint(...pkg.chars)}} </span>
</div>
</van-cell-group>
</template>
<script>
Expand All @@ -410,7 +409,7 @@
};
},
mounted() {
this.$refs.collapse.toggleAll(true);
// this.$refs.collapse.toggleAll(true);
},
});
</script>
Expand Down

0 comments on commit 0d86494

Please sign in to comment.