摘要: VUE3中移除了 filter,可以用全局函数替代 const app = createApp(App) //挂载全局函数 app.config.globalProperties.$filters = { userTypeFilter(type:number):string { return typ 阅读全文
posted @ 2023-03-09 20:50 初生土豆 阅读(1522) 评论(0) 推荐(0) 编辑