Skip to content

Commit

Permalink
feat(core): 优化使用$creator
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Dec 31, 2022
1 parent d31704e commit 23efe42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/elements/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { el, tooltip } from '../utils/dom';
import { $creator } from '../utils/creator';
import { el } from '../utils/dom';
import { addConfigChangeListener, getValue, setValue } from '../utils/tampermonkey';

import { ConfigTagMap } from './configs/interface';
Expand Down Expand Up @@ -82,7 +83,7 @@ export class ConfigElement<T extends keyof ConfigTagMap = 'input'> extends IElem
}

// 处理提示
tooltip(this.provider);
$creator.tooltip(this.provider);

/**
* 触发输入组件的加载回调
Expand Down

0 comments on commit 23efe42

Please sign in to comment.