Giter Site home page Giter Site logo

Comments (5)

tudan188 avatar tudan188 commented on June 5, 2024 1

那只能操作dom了 _this.$refs.areacascader.$vnode.elm.firstChild.childNodes[0].innerText = '请选择'

from vue-area-linkage.

dwqs avatar dwqs commented on June 5, 2024

暂时没有

from vue-area-linkage.

fxs-space avatar fxs-space commented on June 5, 2024

今天我用这个插件时,也遇到了这个问题,最后想出用“v-if”先暂时性解决问题。
<area-select v-if="showAreaLinkage" type="text" v-model="areaName" :data="pca" :placeholders="['请选择省份','请选择市区']"></area-select>
data() { return { showAreaLinkage: true, areaName: [] }; },
methods: { clickResetBtn() { this.showAreaLinkage = false; this.areaName = []; setTimeout(() => { this.showAreaLinkage = true; }, 0); } }

from vue-area-linkage.

dwqs avatar dwqs commented on June 5, 2024

因为联动时,有好几个 Input 框,如果要加一个清空的方法,我目前没想到该怎么加?如果你们有好的建议,欢迎提供。 @FengXianSen @tudanqz

from vue-area-linkage.

Linkontoask avatar Linkontoask commented on June 5, 2024

vue已经实现双向绑定,楼主可以看看我之前回复

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.