Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义tabbar无法使用 #11437

Closed
maopixin opened this issue Mar 11, 2022 · 3 comments · Fixed by #11441
Closed

自定义tabbar无法使用 #11437

maopixin opened this issue Mar 11, 2022 · 3 comments · Fixed by #11441
Labels
F-vue2 Framework - Vue 2 V-3 Version - 3.x
Milestone

Comments

@maopixin
Copy link

maopixin commented Mar 11, 2022

相关平台

微信小程序

小程序基础库: 2.22.1
使用框架: Vue 2

复现仓库

https://github.com/maopixin/taro-tab-bar

复现步骤

自定义tabbar,打包以后custom-tab-bar目录下没有index.wxml
然后自定义tabbar就无法生效

期望结果

自定义tabbar正常加载

实际结果

自定义tabbar没有加载

环境信息

👽 Taro v3.4.3


  Taro CLI 3.4.3 environment info:
    System:
      OS: macOS 12.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.16.0 - /usr/local/bin/node
      Yarn: 1.22.17 - /usr/local/bin/yarn
      npm: 7.24.1 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.4.3 => 3.4.3 
      @tarojs/mini-runner: 3.4.3 => 3.4.3 
      @tarojs/runtime: 3.4.3 => 3.4.3 
      @tarojs/taro: 3.4.3 => 3.4.3 
      @tarojs/webpack-runner: 3.4.3 => 3.4.3 
      babel-preset-taro: 3.4.3 => 3.4.3 
      eslint-config-taro: 3.4.3 => 3.4.3 

补充信息

3.4.2版本可以正常使用
而且使用.vue文件定义tabbar不行
于是我使用wxml文件定义,然后3.4.2可用
升级到3.4.3后 就无法使用了

定义tabbar
定义tabbar

3.4.2打包后
3.4.2打包后

3.4.3打包后
3.4.3打包后

@github-actions
Copy link
Contributor

@IDCjaja
Copy link

IDCjaja commented Apr 15, 2022

vue 文件定义的自定义 tabbar 可以实现了吗

@maopixin
Copy link
Author

maopixin commented Apr 15, 2022

vue 文件定义的自定义 tabbar 可以实现了吗

没有尝试,我在3.4.2版本先用的vue方式的,但是没有成功。
我说错了,我并没有升级到3.4.4,目前还在使用3.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 V-3 Version - 3.x
Projects
None yet
3 participants