fix(projects): 修复tab在移动端无法点击

This commit is contained in:
Soybean 2021-11-14 20:36:12 +08:00
parent 364c64b464
commit 1a76de0446
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@
:item-style="{ paddingTop: '0px', paddingBottom: '0px' }"
>
<div class="flex-1-hidden h-full">
<better-scroll :options="{ scrollX: true, scrollY: false }">
<better-scroll :options="{ scrollX: true, scrollY: false, click: true }">
<multi-tab />
</better-scroll>
</div>

View File

@ -18,6 +18,9 @@ export default defineConfig({
}
},
plugins,
server: {
host: '0.0.0.0'
},
build: {
brotliSize: false,
sourcemap: false