- code is as follows
render: (h, params) => {
return h("div", [
h("Button",{
props: {
type: "primary"
},
style: {
marginRight: "8px"
},
on: {
click: () => {
this.$Message.info("");
}
}
}, ""),
h("Poptip",{
props: {
confirm: true,
title: "",
placement: "bottom"
},
on: {
"on-ok": () => {
this.$Message.info("");
},
"on-cancel": () => {
}
}
}, [
h("Button",{ props: { type: "error" } },"")
])
]);
}
- the error is as follows
- does not report an error when used in methods. Is there a big god to solve it? Thank you!