How to use the element-ui.Message.info function in element-ui

To help you get started, we’ve selected a few element-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cachecats / coderiver / pc / vue / src / components / mheader.vue View on Github external
clearLoginStatus(){
        //删掉 cookie 中存的 token 和 userId
        CookieUtils.removeCookie("token");
        CookieUtils.removeCookie("userId");
        //清除 vuex 中的用户信息
        this.$store.commit("setUserInfo", {});
        this.isLogin = false;
        Message.info("已安全退出")
      }
github cachecats / coderiver / vue / original / src / components / mheader.vue View on Github external
clearLoginStatus(){
        //删掉 cookie 中存的 token 和 userId
        CookieUtils.removeCookie("token");
        CookieUtils.removeCookie("userId");
        //清除 vuex 中的用户信息
        this.$store.commit("setUserInfo", {});
        this.isLogin = false;
        Message.info("已安全退出")
      }
github ITCNZ / Nuxt-ssr / utils / ui.js View on Github external
toast : function(message,type){
    let option = {
      'message' : message,
      'duration' : 2200
    };
    if(type == 'error'){
      Message.error(option)
    }
    else if (type == "success"){
      Message.success(option);
    }
    else if (type == "warning"){
      Message.warning(option);
    }
    else{
      Message.info(option);
    }
  },
github wilsonIs / vue-treeSelect / src / App.vue View on Github external
showTreeError(error){
      Message.info(error.message);
    }
  }
github ngbdf / redis-manager / redis-manager-ui / redis-manager-vue / src / utils / message.js View on Github external
let option = {
        showClose: true,
        message: message,
        offset: 60
    }
    if (!isEmpty(type)) {
        option.type = type
    }
    if (type === 'success') {
        Message.success(option)
    } else if (type === 'warning') {
        Message.warning(option)
    } else if (type === 'error') {
        Message.error(option)
    } else {
        Message.info(option)
    }
}
github agalwood / Motrix / src / renderer / components / Command / index.js View on Github external
function showUnderDevelopmentMessage () {
  Message.info(i18n.t('app.under-development-message'))
}