self-defined style configuration
发布时间
阅读量:
阅读量
Vue.prototype.offlineTip = function (obj, fn) {
const h = this.$createElement;
const e1 = h('div', `名称:${obj.name}`)
const e2 = h('div', `时间:${obj.time}`)
return this.$notify({
title: '设备故障',
message: h('div', { style: "color:red;letter-spacing:2px;font-size:16px" }, [e1, e2]),
position: 'bottom-right',
type: 'warning',
duration: 0,
onClick() {
fn(obj)
},
onClose() {
}
});
};
全部评论 (0)
还没有任何评论哟~
