GithubHelp home page GithubHelp logo

[t-switch] 设置 customValue 之后,页面白屏报错 Uncaught (in promise) Error: value is not in [1,0] about tdesign-vue-next HOT 3 CLOSED

houyi avatar houyi commented on June 24, 2024
[t-switch] 设置 customValue 之后,页面白屏报错 Uncaught (in promise) Error: value is not in [1,0]

from tdesign-vue-next.

Comments (3)

github-actions avatar github-actions commented on June 24, 2024

👋 @houyi,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

from tdesign-vue-next.

uyarn avatar uyarn commented on June 24, 2024

v-model="checked" 绑定的checked 既不是0 也不是1 才会触发这种问题 switch只有两种状态 没有非选中状态 这个时候不知道怎么渲染了

from tdesign-vue-next.

houyi avatar houyi commented on June 24, 2024

谢谢大佬,明白了,我该ref 0 ,1 而不是 false true..

from tdesign-vue-next.

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.