diff --git a/build/code.quality.props b/build/code.quality.props index f3982d49..36771df7 100644 --- a/build/code.quality.props +++ b/build/code.quality.props @@ -19,11 +19,11 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/frontend/admin/src/components/scTable/index.vue b/src/frontend/admin/src/components/scTable/index.vue index 2148d0eb..5a7bab3c 100644 --- a/src/frontend/admin/src/components/scTable/index.vue +++ b/src/frontend/admin/src/components/scTable/index.vue @@ -16,6 +16,7 @@ @cell-click="cellClickMethod" @filter-change="filterChange" @row-contextmenu="rowContextmenu" + @row-dblclick="dbClick" @sort-change="sortChange" ref="scTable" tooltip-effect="light"> @@ -361,6 +362,11 @@ export default { this.isActivate = false }, methods: { + dbClick(row) { + if (this.vue.dialog) { + this.vue.dialog.save = { mode: 'view', row: { id: row.id } } + } + }, async contextMenuCommand(command) { if (typeof command === 'object') { return command.action(this.vue, this.current.row)