mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-23 14:42:51 +08:00
chore: 🔨 表格行双击查看
[skip ci]
This commit is contained in:
parent
f3651f1432
commit
4d45a72243
@ -19,11 +19,11 @@
|
|||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Roslynator.Analyzers" Version="4.12.9">
|
<PackageReference Include="Roslynator.Analyzers" Version="4.12.10">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.3.0.106239">
|
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.4.0.108396">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
@cell-click="cellClickMethod"
|
@cell-click="cellClickMethod"
|
||||||
@filter-change="filterChange"
|
@filter-change="filterChange"
|
||||||
@row-contextmenu="rowContextmenu"
|
@row-contextmenu="rowContextmenu"
|
||||||
|
@row-dblclick="dbClick"
|
||||||
@sort-change="sortChange"
|
@sort-change="sortChange"
|
||||||
ref="scTable"
|
ref="scTable"
|
||||||
tooltip-effect="light">
|
tooltip-effect="light">
|
||||||
@ -361,6 +362,11 @@ export default {
|
|||||||
this.isActivate = false
|
this.isActivate = false
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
dbClick(row) {
|
||||||
|
if (this.vue.dialog) {
|
||||||
|
this.vue.dialog.save = { mode: 'view', row: { id: row.id } }
|
||||||
|
}
|
||||||
|
},
|
||||||
async contextMenuCommand(command) {
|
async contextMenuCommand(command) {
|
||||||
if (typeof command === 'object') {
|
if (typeof command === 'object') {
|
||||||
return command.action(this.vue, this.current.row)
|
return command.action(this.vue, this.current.row)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user