perf: nuget update

[skip ci]
This commit is contained in:
tk
2025-06-23 14:23:13 +08:00
committed by nsnail
parent bb32c95e06
commit 6f61176f13
5 changed files with 9 additions and 10 deletions

View File

@ -363,7 +363,7 @@ export default {
return
}
if (command === 'copy') {
let data = this.current.row[this.current.column?.property]
let data = tool.getNestedProperty(this.current.row, this.current.column?.property)
if (!data) return
const textarea = document.createElement('textarea')

View File

@ -253,6 +253,7 @@ tool.objCopy = function (obj) {
/* 获取嵌套属性 */
tool.getNestedProperty = function (obj, path) {
if (!path) return null
const keys = path.split('.') // 将属性路径分割为键的数组
let current = obj