Giter Club home page Giter Club logo

Comments (7)

pangxie1991 avatar pangxie1991 commented on May 13, 2024

这个是在跑项目演示?
项目演示需要在根目录下运行 npm run dev, 然后在 微信开发者工具 里面打开 example 目录

from vant-weapp.

Enivel avatar Enivel commented on May 13, 2024

tab 确实挂了

from vant-weapp.

pangxie1991 avatar pangxie1991 commented on May 13, 2024

@Enivel 能说下具体是怎么挂了的么?
方便的话,帮忙给下具体传入 tab 组件的数据和使用方式吧,还有使用的基础库版本

我这里开了 npm run dev 以后,微信开发者工具 里打开 example 目录是正常的

from vant-weapp.

Enivel avatar Enivel commented on May 13, 2024

@pangxie1991 run dev后正常, 我不记得最开始有没有run dev但是其他组件都是正常的唯独 tab.
另外我在自己的项目里引用tab 方法和demo一致也是无法显示.需要做什么操作么?
多谢

from vant-weapp.

Enivel avatar Enivel commented on May 13, 2024

@pangxie1991 我在自己的项目中 对zanui 进行npm install + npm run dev 后完整复制官方例子 tab依然为空白

from vant-weapp.

pangxie1991 avatar pangxie1991 commented on May 13, 2024

@Enivel 你现在在业务里使用最新版本 2.4.2 的试试看

from vant-weapp.

Enivel avatar Enivel commented on May 13, 2024

@pangxie1991 可以了
image

from vant-weapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.