Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / mini-program / ai-card

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • ai-card
  • app.js
  • 胡悦's avatar
    init · 78ad3e8d
    胡悦 committed Aug 30, 2022
    78ad3e8d
app.js 215 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13
//app.js
import router from './router/index.js'
import util from './utils/util.js'
App({
  onLaunch: function () {
    /**挂载到wx对象 */
    wx.$util = util
    wx.$router = router
  },
  globalData: {

  }
})