Git Product home page Git Product logo

Comments (4)

wangdahoo avatar wangdahoo commented on May 13, 2024

@AngruMainyu 最新版本不需要在页面组件内import了 Vue.use(Vonic.app, ...) 后默认注册为全局组件,工作忙碌,文档尚未更新。抱歉。

from vonic.

AngruMainyu avatar AngruMainyu commented on May 13, 2024

恩可以了,但现在有个问题组件VonInput好像不支持数据绑定?<von-input v-model="val"...>然后定义一个<md-button ...> {{val}} 这样,输入框改变值后按钮的text并未改变,但是用普通的<input v-model="val"...>是可以的,这是什么原因呢

from vonic.

AngruMainyu avatar AngruMainyu commented on May 13, 2024

又研究了下,von-input绑定数据用的不是v-model,应该是value.sync="username"这个吧,但还是不行,同样的在Vonic.Search组件里使用value.sync="keywords" 就可以绑定,但von-input就是不能绑定。。。

from vonic.

wangdahoo avatar wangdahoo commented on May 13, 2024

@AngruMainyu https://github.com/wangdahoo/vonic/blob/master/demo/components/InputDefault.vue#L10

from vonic.

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.