this.$message({
message:“请添加记录”,
type:‘warning’
})
type 取值 ‘success’ /warning/info/error/;
-
this.$Message.info(config)
-
this.$Message.success(config)
-
this.$Message.warning(config)
-
this.$Message.error(config)
-
this.$Message.loading(config)
寄语:Every power comes with its own burden.
欲戴皇冠,必承其重。