How to use the view-design.Message.error function in view-design

To help you get started, we’ve selected a few view-design 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 devfeel / rockman / webui / webapp / src / common / http.js View on Github external
}, error => {
  if (error.response) {
    let code = error.response.status;
    switch (code) {
      case 500:
        Message.error(error.response.data.RetMsg)
        break;
      default:
        Message.error(codeMessage[code])
    }
  }
  return Promise.reject(error.response.data);// 返回接口返回的错误信息
})
github devfeel / rockman / webui / webapp / src / common / http.js View on Github external
}, error => {
  if (error.response) {
    let code = error.response.status;
    switch (code) {
      case 500:
        Message.error(error.response.data.RetMsg)
        break;
      default:
        Message.error(codeMessage[code])
    }
  }
  return Promise.reject(error.response.data);// 返回接口返回的错误信息
})
github WeBankPartners / open-monitor / monitor-ui / src / assets / js / httpRequestEntrance.js View on Github external
function errorMessage(content) {
  console.log(content)
  Message.error({
    content: content,
    duration: 5,
    closable: true
  })
}

view-design

A high quality UI components Library with Vue.js

MIT
Latest version published 3 years ago

Package Health Score

53 / 100
Full package analysis