Skip to content

Commit

Permalink
docs: 合并引起的 示例bug修复
Browse files Browse the repository at this point in the history
合并引起的 示例bug修复
  • Loading branch information
hewx815 committed Aug 22, 2023
1 parent f01d097 commit 2d5f187
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@
# `HACK`: 临时性的解决方案或修补。
# `XXX`: 需要特别注意或需要进一步检查的地方(优化点)。

TODO 导入导出

TODO 生成项目结构目录说明

TODO vue2 HWaterFall 组件

TODO vue2 vue-cli-plugin-h-uni-build:defineConfigHuniBuild 类型支持文档

TODO vue2 vue-cli-plugin-h-uni-build:defineConfigHuniBuild 类型支持文档

TODO Vue3 开始页面

TODO Vue3 vite-plugin-h-uni-build 功能
Expand Down
5 changes: 4 additions & 1 deletion for-vue2/src/pages/HTab/HTabBase.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<!-- #region template -->
<template>
<view class="box">
<HTab direction="x">
<HTab
v-model="active"
direction="y"
>
<HTabItem
v-for="( item, index ) in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]"
:key="index"
Expand Down
2 changes: 1 addition & 1 deletion for-vue2/src/pages/HTab/HTabItemStyle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default defineComponent({
*/
setTimeout(() => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
(this.$refs.tab as InstanceType<typeof HTab>).resize();
(this.$refs.HTab as InstanceType<typeof HTab>).resize();
}, 500);
},
});
Expand Down

0 comments on commit 2d5f187

Please sign in to comment.