docs: upload 文档修正
This commit is contained in:
parent
77ca42867c
commit
bd6becdec5
@ -93,16 +93,16 @@ const change = function (page: any) {
|
||||
emit("change", page);
|
||||
};
|
||||
|
||||
const rowClick = function (data: any,evt:MouseEvent) {
|
||||
emit("row", data,evt);
|
||||
const rowClick = function (data: any, evt: MouseEvent) {
|
||||
emit("row", data, evt);
|
||||
};
|
||||
|
||||
const rowDoubleClick = function (data: any,evt:MouseEvent) {
|
||||
emit("row-double", data,evt);
|
||||
const rowDoubleClick = function (data: any, evt: MouseEvent) {
|
||||
emit("row-double", data, evt);
|
||||
};
|
||||
|
||||
const contextmenu = function (data: any,evt:MouseEvent) {
|
||||
emit("contextmenu", data,evt);
|
||||
const contextmenu = function (data: any, evt: MouseEvent) {
|
||||
emit("contextmenu", data, evt);
|
||||
};
|
||||
|
||||
// 打印 table 数据
|
||||
@ -292,9 +292,9 @@ onMounted(() => {
|
||||
<tbody>
|
||||
<template v-for="data in tableDataSource" :key="data">
|
||||
<tr
|
||||
@click.stop="rowClick(data,$event)"
|
||||
@dblclick.stop="rowDoubleClick(data,$event)"
|
||||
@contextmenu.stop="contextmenu(data,$event)"
|
||||
@click.stop="rowClick(data, $event)"
|
||||
@dblclick.stop="rowDoubleClick(data, $event)"
|
||||
@contextmenu.stop="contextmenu(data, $event)"
|
||||
>
|
||||
<!-- 复选框 -->
|
||||
<td v-if="checkbox" class="layui-table-col-special">
|
||||
|
Loading…
Reference in New Issue
Block a user