Skip to content

Conversation

@songyazhao
Copy link

触发该问题的例子:

<template>
  <div>
    <al-cascader v-model="area"/>
    <button @click="handleCleanArea"></button>
  </div>
</template>

<script>
export default {
  data() {
    area: [
      "120000",
      "120100",
      "120101",
      "120101001000"
    ]
  },
  methods: {
    handleCleanArea() {
      // 此处对area清空时并不会触发el-cascader组件的视图更新
      this.area = []
    }
  }
}
</script>

@songyazhao songyazhao mentioned this pull request Mar 24, 2018
@init-object
Copy link

No compatible version found: iview-area@^1.5.18
Valid install targets: 1.5.17, 1.5.16, 1.5.15, 1.5.14, 1.5.13,

@songyazhao
Copy link
Author

没办法,只能等待作者合并,然后发布1.5.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants