Vue.prototype.handler = function(val){typeof val === 'function' ? val.call(this) : (val+'').startsWith('/')? uni.navigateTo({url:val}) : ''}

 

 posted on 2022-11-24 09:36  laremehpe  阅读(21)  评论(0编辑  收藏  举报