jd-opensource / jd-opensource/nutui
Tour 无法定位步骤,change事件获取步骤索引不对
- Dominant language
- Vue
- Stars
- 6.5k
- Forks
- 835
- PR merge metrics
- No merged PRs in 30d
Description
### NutUI 包名
@nutui/nutui-taro
### NutUI 版本号
4.3.8
### 平台
weapp
### 重现链接
import { ref } from 'vue' const show = ref(false) const steps = ref([ { content: '京东风格的轻量级移动端组件库,覆盖移动端主流场景', target: 'tour5-1' }, { content: '支持一套代码同时开发多端小程序 + H5', target: 'tour5-2' }, { content: '基于京东APP 10.0 视觉规范', target: 'tour5-3', location: 'top-end' }, { content: '支持定制主题,内置 700+ 个主题变量', target: 'tour5-4', location: 'top-end' } ]) const handleChange=(v)=>{ console.log(v) }
### 重现步骤
change 事件获取的步骤索引不对,current 无法定位到对应步骤
### 期望的结果是什么?
change 事件获取步骤索引,current 定位到对应步骤
### 实际的结果是什么?
change 事件获取的步骤索引不对,current 无法定位到对应步骤
### 环境信息
_No response_
### 其他补充信息
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.