Commit 89ce8827 authored by 何虹's avatar 何虹 💬

表格单击行优化

parent 15e05ae6
......@@ -722,7 +722,7 @@ export default {
if (type === 'string' && click.startsWith('$')) {
const item_ = Object.assign({}, item) // 拷贝一份item
item_.click = item_.click.substr(1)
this.$emit('handleClick', row, item, bindEntity)
this.$emit('handleClick', row, item_, bindEntity)
} else if (type === 'function') {
click(row, item, bindEntity)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment