Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 18, 2025
1 parent e077918 commit 313f36d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30477,9 +30477,9 @@ exports.ownerMap = {
};
function useTrigger(context) {
const triggerRun = {
'tdesign-icons': (0, icons_1.default)(context),
'tdesign-common': (0, common_1.default)(context),
'tdesign-vue': (0, vue_1.default)(context),
'tdesign-icons': () => (0, icons_1.default)(context),
'tdesign-common': () => (0, common_1.default)(context),
'tdesign-vue': () => (0, vue_1.default)(context),
};
if (!Reflect.has(triggerRun, context.repo)) {
(0, core_1.error)(`${context.repo} 未适配`);
Expand Down
6 changes: 3 additions & 3 deletions src/utils/trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export interface TriggerContext {
}
export default function useTrigger(context: TriggerContext) {
const triggerRun = {
'tdesign-icons': icons(context),
'tdesign-common': common(context),
'tdesign-vue': vue(context),
'tdesign-icons': () => icons(context),
'tdesign-common': () => common(context),
'tdesign-vue': () => vue(context),
}
if (!Reflect.has(triggerRun, context.repo)) {
error(`${context.repo} 未适配`)
Expand Down

0 comments on commit 313f36d

Please sign in to comment.