Giter Site home page Giter Site logo

如何设置默认值 about vue-area-linkage HOT 2 CLOSED

dwqs avatar dwqs commented on May 26, 2024
如何设置默认值

from vue-area-linkage.

Comments (2)

dwqs avatar dwqs commented on May 26, 2024

image

https://dwqs.github.io/vue-area-linkage/

如果你的 level 值是联动层级,默认值的个数应该是等于 level + 1: https://github.com/dwqs/vue-area-linkage#%E5%B1%9E%E6%80%A7

from vue-area-linkage.

Sinosaurus avatar Sinosaurus commented on May 26, 2024

你好,我在源码里找到你写的断言,在里面打印我传进去的值时,发现值不对,后来才发现我上面的代码有一个写错了 splice(0, 1, key)改为1就好了。
默认值必须是 440000这样的格式,有些痛苦。后台只认汉字,这个才是不变的。但是目前只能如此做了

感谢大佬

from vue-area-linkage.

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.