doway-coms 2.10.91 → 2.10.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1387,7 +1387,8 @@ export default {
|
|
|
1387
1387
|
return x.field==record.column.field
|
|
1388
1388
|
})
|
|
1389
1389
|
let row=null
|
|
1390
|
-
|
|
1390
|
+
console.log('keydownEvent',key)
|
|
1391
|
+
switch (key) {
|
|
1391
1392
|
case 'ArrowUp':
|
|
1392
1393
|
row= fullData[currentIndex-1]
|
|
1393
1394
|
$grid.setEditCell(row,record.column)
|
|
@@ -3202,8 +3203,12 @@ export default {
|
|
|
3202
3203
|
//需要不同条件跳转不同页面
|
|
3203
3204
|
for (let i = 0; i < tempRouteName.length; i++) {
|
|
3204
3205
|
if (tempRouteName[i].value === row[tempRouteName[i].field]) {
|
|
3205
|
-
|
|
3206
|
-
|
|
3206
|
+
if (row[tempRouteName[i].query]) {
|
|
3207
|
+
tempRouteQuery =
|
|
3208
|
+
row[tempRouteName[i].query].split(',')[index]
|
|
3209
|
+
} else {
|
|
3210
|
+
tempRouteQuery = row[column.params.route.field]
|
|
3211
|
+
}
|
|
3207
3212
|
tempRouteName = tempRouteName[i].name
|
|
3208
3213
|
break
|
|
3209
3214
|
}
|