chore: update

This commit is contained in:
xiaoxian521 2024-03-13 20:45:07 +08:00
parent 60ab43b012
commit 5055d715c3

View File

@ -159,7 +159,8 @@ export function useRole(tableRef: Ref) {
} }
/** 拷贝请求接口,表格单元格被双击时触发 */ /** 拷贝请求接口,表格单元格被双击时触发 */
function handleCellDblclick({ url }) { function handleCellDblclick({ url }, { property }) {
if (property !== "url") return;
update(url); update(url);
copied.value copied.value
? message(`${url} 已拷贝`, { type: "success" }) ? message(`${url} 已拷贝`, { type: "success" })