GITLAB

frontend / zee

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • zee
  • examples
  • mixins
  • toast.js
  • cda4e04e   refactor: 重构部分代码 Browse Code »
    刘汉宸
    2021-02-20 18:58:55 +0800  
toast.js 287 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14
export default {
  methods: {
    // 显示加载中提示框
    toast(config = {}) {
      return this.$loading({
        lock: true,
        text: '加载中...',
        spinner: 'el-icon-loading',
        customClass: 'el-loading-toast',
        ...config,
      });
    },
  },
};