After iview sets type:html in table, render seems to be invalid and cannot call the click event.

title: itemDate,

            key: itemDate,
            type:"html",
            align: "center",
            
            render:(h,params)=>{
                return h("div", {
                        props: {
                            type: "primary",
                            
                        },
                        
                        style: {
                            height:"48px",
                            width:"141px",
                            
                        },
                        on: {
                            click: () => {
                                self.cellClick(params.column.key,params.row.equipmentInformationId);
                                console.info("params.row",params.row)
                            }
                        }
                    }, params.row[itemDate])
            }
Mar.06,2021

click:

  • Running npm run dev reports an error

    iview-admin project, npm run dev reported an error npm run dev > iview-admin@1.3.1 dev Users zhangxinxin workProject hcg > webpack-dev-server --content-base . --open --inline --hot --compress --config build webpack.dev.config.js Happy[happyb...

    Apr.09,2021
  • AutoComplete error in iview

    problem description You may have an infinite update loop in a component render function. the environmental background of the problems and what methods you have tried I am copying the official code: the use of case-insensitive AutoComplete, and Fil...

    Apr.25,2021
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-7b20ce-15139.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-7b20ce-15139.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?