this.$message.error('保单号不能为空!')

bash
return this.$message({
message:"保单号不能为空!",
type:"error",
customClass: "messageIndex"
})
样式 不要用 scoped 单独写一个style标签
bash
<style >
.messageIndex {
z-index: 30000 !important;
}
</style>
