Browse Source

refactor(components): 优化 AQTabber 组件的 openView 方法- 将 openView 方法改为异步方法,使用 async 关键字修饰

- 保留了原有的逻辑,未进行其他修改
master
liutong 12 months ago
parent
commit
8ff8456067
  1. 2
      components/AQ/AQTabber.vue

2
components/AQ/AQTabber.vue

@ -148,7 +148,7 @@
} }
// console.log(111,this.tabBar) // console.log(111,this.tabBar)
}, },
openView(e) { async openView(e) {
console.log('点击跳转', e) console.log('点击跳转', e)
if (e.text != '') { if (e.text != '') {
//tabBar //tabBar

Loading…
Cancel
Save