Iview this.$Message.info reported an error

Click on a button rendered with render in the < H2 > table, and the button pops up a text prompt bubble (Poptip-- confirm), clicks OK and reports an error < / H2 > The
  • 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!
Feb.28,2021

on: {
    'on-ok': () => {
        this.$Message.info('');
    },
    'on-cancel': () => {
    }
}

on-ok events cannot be bound here, only click events can be bound

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e99aa6-461f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e99aa6-461f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?