| | |
| | | Vue.use(Req) |
| | | Vue.use(fn) |
| | | |
| | | Vue.prototype.$messageSuc = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'success' }) |
| | | } |
| | | Vue.prototype.$messageWarn = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'warning' }) |
| | | } |
| | | Vue.prototype.$messageError = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'error' }) |
| | | } |
| | | Vue.prototype.$messageInfo = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'info' }) |
| | | } |
| | | |
| | | /* eslint-disable no-new */ |
| | | new Vue({ |
| | | el: '#app', |