初始化项目, 添加TDesign等包
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import { SuperComponent } from '../../../common/src/index';
|
||||
export default class QRCode extends SuperComponent {
|
||||
options: {
|
||||
multipleSlots: boolean;
|
||||
};
|
||||
properties: {
|
||||
statusRender: {
|
||||
type: BooleanConstructor;
|
||||
value: boolean;
|
||||
};
|
||||
status: {
|
||||
type: StringConstructor;
|
||||
value: "loading" | "active" | "expired" | "scanned";
|
||||
};
|
||||
locale: {
|
||||
type: ObjectConstructor;
|
||||
value: {
|
||||
expiredText?: string;
|
||||
refreshText?: string;
|
||||
scannedText?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
data: {
|
||||
prefix: string;
|
||||
classPrefix: string;
|
||||
isSkyline: boolean;
|
||||
};
|
||||
lifetimes: {
|
||||
attached(): void;
|
||||
};
|
||||
methods: {
|
||||
handleRefresh(): void;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user