$fitlers自定义全局属性: app.config.globalProperties.$filters = {} template中使用报错: 解决:对vue进行类型补充说明 declare module '@vue/runtime-core' { interface ComponentCustomProperties { $filters: any } }