Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
[perf] js export 所有的导出对象应该写到一个export下
Browse files Browse the repository at this point in the history
  • Loading branch information
elvismile authored Dec 2, 2022
1 parent 1b79e4a commit ab6d579
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/TDesign/wwwroot/tdesign-blazor.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { createPopper } from './js/popper/popper.js'

/**
* @description 组件 affix 用到的js对象。
*/
Expand Down Expand Up @@ -33,10 +35,6 @@ let affix = {
},
}

export { affix }

import { createPopper } from './js/popper/popper.js'

/**
* 弹出层
* */
Expand Down Expand Up @@ -80,4 +78,4 @@ let popup = {
// return instance.setOptions(options).then(state => ({ placement: state.placement }));
//}

export { popup }
export { affix, popup }

0 comments on commit ab6d579

Please sign in to comment.