vux [Bug Report] 被popup包裹的range组件无法实现与v-model双向绑定

gudnpqoy  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(76)

VUX version

2.9.2

OS/Browsers version

Win10 x64

Vue version

2.5.17

Code

<template>
  <div>
    <popup v-model="show">
      <group label-width="4em">
        <cell :title="`亮度:`" :inline-desc="`当前: ${light}`" primary="content">
          <range v-model="light"></range>
        </cell>
      </group>
    </popup>
  </div>
</template>

<script>
import {Range, Group, Popup, Cell} from 'vux'

export default {
  name: 'Senior',
  components: {Range, Group, Popup, Cell},
  data () {
    return {
      show: true,
      light: 50
    }
  }
}
</script>

Steps to reproduce

代码为组件完整代码 复制粘贴即可重现

What is Expected?

确认是否为bug

What is actually happening?

去掉popup即可正确显示

相关问题