ijry / ijry/uview-plus

slider的v-model:rangeValue="priceValue"未生效

Open
#554 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
717
Forks
205
Avg merge
21h 38m
Merged PRs (30d)
2

Description

问题描述
设置isRange且双向绑定rangeValue后通过其他方式修改绑定的数据,slider状态未跟随变更

预期行为
slider状态跟随双向绑定的数据变化

截图
Snipaste_2024-11-11_14-28-49

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the slider component entry point and reproduce the reported case with isRange enabled and v-model bound to rangeValue. Change the bound data through another path and compare the slider state with the expected rangeValue; done means the slider follows external updates. Check the component's existing tests, if present, for a suitable regression case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.