mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-13 07:43:43 +08:00
参照vuejs官方文档,[扩展全局属性](https://cn.vuejs.org/guide/typescript/options-api.html#augmenting-global-properties), ```ts declare module 'vue' { interface ComponentCustomProperties { $http: typeof axios $translate: (key: string) => string } } ``` Signed-off-by: dhb52 <dhb52@126.com> |
||
|---|---|---|
| .. | ||
| api | ||
| assets | ||
| components | ||
| directive | ||
| enums | ||
| lang | ||
| layout | ||
| plugins | ||
| router | ||
| store | ||
| types | ||
| utils | ||
| views | ||
| animate.ts | ||
| App.vue | ||
| main.ts | ||
| permission.ts | ||
| settings.ts | ||