Skip to content

Commit

Permalink
chore: 优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yiludege committed Mar 28, 2023
1 parent 02208c8 commit 50c9348
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/wujie-core/src/effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
isFunction,
isHijackingTag,
requestIdleCallback,
error,
warn,
nextTick,
getCurUrl,
Expand All @@ -27,13 +26,7 @@ import { insertScriptToIframe, patchElementEffect } from "./iframe";
import Wujie from "./sandbox";
import { getPatchStyleElements } from "./shadow";
import { getCssLoader, getEffectLoaders, isMatchUrl } from "./plugin";
import {
WUJIE_APP_ID,
WUJIE_SCRIPT_ID,
WUJIE_DATA_FLAG,
WUJIE_TIPS_REPEAT_RENDER,
WUJIE_TIPS_NO_SCRIPT,
} from "./constant";
import { WUJIE_SCRIPT_ID, WUJIE_DATA_FLAG, WUJIE_TIPS_REPEAT_RENDER, WUJIE_TIPS_NO_SCRIPT } from "./constant";
import { ScriptObject, parseScriptAttributes } from "./template";

function patchCustomEvent(
Expand Down

0 comments on commit 50c9348

Please sign in to comment.