Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

dj-simple / account

  • 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
  • account
  • src
  • common
  • notice.js
  • huyue's avatar
    修改账户、字典跳转问题 · 350f5abe
    huyue committed Mar 20, 2025
    350f5abe Browse Files
notice.js 430 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import Vue from 'vue'

export default new Vue({
  methods: {
    warningTips(message) {
      this.$notify({
        type: 'warning',
        title: message
      })
    },
    okTips(message) {
      this.$notify({
        type: 'success',
        title: message || '操作成功'
      })
    },
    errorTips(message) {
      this.$notify({
        type: 'error',
        title: message || '操作失败'
      })
    }
  }
})