init
This commit is contained in:
13
src/types/func.d.ts
vendored
Normal file
13
src/types/func.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// 定义全局属性的类型
|
||||
import { ComponentCustomProperties } from 'vue';
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
parseTime: Function;
|
||||
parseDate: Function;
|
||||
dateTimeStr: string;
|
||||
dateStr: string;
|
||||
timeStr: string;
|
||||
baseURL: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user