Skip to content

Commit

Permalink
fix:引入导出报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
as33066647 committed Jan 18, 2021
1 parent c0d50f6 commit 178b951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Kits from './kits.js';
const Kits = require("./kits.js")

export default Kits;
module.exports = Kits
2 changes: 1 addition & 1 deletion kits.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,4 +363,4 @@ kits.userAgentBrowser = () => {
else false
}

export default kits
module.exports=kits

0 comments on commit 178b951

Please sign in to comment.