mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-13 02:53:59 +08:00
修改$t为$tn
修改部分函数api的名称
This commit is contained in:
@@ -205,9 +205,9 @@
|
||||
// 处理swiperActionItem点击事件
|
||||
onSwiperItemClick(e) {
|
||||
if (e.type === 'button') {
|
||||
this.$t.message.toast(`点击了第${e.index}个按钮`)
|
||||
this.$tn.message.toast(`点击了第${e.index}个按钮`)
|
||||
} else if (e.type === 'item') {
|
||||
this.$t.message.toast(`点击了item标签,name为${e.name}`)
|
||||
this.$tn.message.toast(`点击了item标签,name为${e.name}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -241,4 +241,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user