todoTests(item, flag) {
console.log('输出的itemindex', item.dex)
if (flag === '1') {
this.testTypeList[item.dex].scaleClass = this.testTypeList[item.dex].scaleClass + '_1'
if (item && item.dex === 3) {
// 自考的跳转
setTimeout(() => {
this.handleAry(this.testTypeList)
this.handleAry(this.testTypeListR)
setTimeout(() => {
this.jumpToView()
}, 50)
}, 100)
}
} else {
this.testTypeListR[item.dex].scaleClass = this.testTypeListR[item.dex].scaleClass + '_1'
}
//this.$emit('to_do_tests', item.text)
setTimeout(() => {
this.handleAry(this.testTypeList)
this.handleAry(this.testTypeListR)
setTimeout(() => {
this.$emit('to_do_tests', item.text)
}, 50)
}, 100)
},
定时器模拟状态样式修改 与hover-class的使用
最新推荐文章于 2024-09-20 09:21:03 发布