|
@@ -57,7 +57,7 @@
|
|
|
</template>
|
|
|
<hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :is-index="false" is-new>
|
|
|
<template #title="{ row }">
|
|
|
- <el-link type="primary" :underline="false" @click="tableRowTitle(row)">{{ row?.title }}</el-link>
|
|
|
+ <el-link type="primary" :underline="false" @click="tableRowTitle(row)" @dblclick="tableRowClick(row)">{{ row?.title }}</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
<template #action>
|
|
@@ -243,6 +243,11 @@ const fileRollDrawerClose = () => {
|
|
|
const toHomePage = () => {
|
|
|
toPage({ page: '/home' })
|
|
|
}
|
|
|
+
|
|
|
+//双击行
|
|
|
+const tableRowClick = (row) => {
|
|
|
+ console.log(row)
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|