Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

glsx-business / aiot-develop-platform

  • 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
  • aiot-develop-platform
  • src
  • common
  • notice.js
  • cwq0219's avatar
    提示为空;表格底部空隙。 · f9d3781c
    cwq0219 committed Jan 03, 2021
    f9d3781c Browse Files
notice.js 439 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.$message({
        type: 'warning',
        message: message
      })
    },
    okTips(message) {
      this.$message({
        type: 'success',
        message: message || '操作成功'
      })
    },
    errorTips(message) {
      this.$message({
        type: 'error',
        message: message || '操作失败'
      })
    }
  }
})