mirror of
https://github.com/motajs/template.git
synced 2026-11-13 06:24:30 +08:00
feat: 完善内置特殊属性
This commit is contained in:
1 parent
a0e402728e
commit
3f74d5f25e
10 files changed
+221
-16
No files matched your search
@@ -54,7 +54,7 @@ export interface IDataCommonHooks extends IHookBase {
|
||||
* @param tip 提示内容
|
||||
* @param icon 提示图标
|
||||
*/
|
||||
onTip?(tip: string, icon: number): void;
|
||||
onTip?(tip: string, icon?: number): void;
|
||||
}
|
||||
|
||||
export interface IDataCommon extends IHookable<IDataCommonHooks> {
|
||||
@@ -78,7 +78,7 @@ export interface IDataCommon extends IHookable<IDataCommonHooks> {
|
||||
* @param tip 提示文本
|
||||
* @param icon 提示图标
|
||||
*/
|
||||
emitTip(tip: string, icon: number): void;
|
||||
emitTip(tip: string, icon?: number): void;
|
||||
}
|
||||
|
||||
export interface IDataCommonExtended {
|
||||
|
||||
Reference in new issue
Block a user