mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-24 07:02:51 +08:00
chore: 🔨 表格行双击查看
[skip ci]
This commit is contained in:
parent
f3651f1432
commit
4d45a72243
@ -19,11 +19,11 @@
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Roslynator.Analyzers" Version="4.12.9">
|
||||
<PackageReference Include="Roslynator.Analyzers" Version="4.12.10">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.3.0.106239">
|
||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.4.0.108396">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user