doway-coms 2.10.91 → 2.10.92

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.10.91",
3
+ "version": "2.10.92",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -3202,8 +3202,12 @@ export default {
3202
3202
  //需要不同条件跳转不同页面
3203
3203
  for (let i = 0; i < tempRouteName.length; i++) {
3204
3204
  if (tempRouteName[i].value === row[tempRouteName[i].field]) {
3205
- tempRouteQuery =
3206
- row[tempRouteName[i].query].split(',')[index] || row[column.params.route.field]
3205
+ if (row[tempRouteName[i].query]) {
3206
+ tempRouteQuery =
3207
+ row[tempRouteName[i].query].split(',')[index]
3208
+ } else {
3209
+ tempRouteQuery = row[column.params.route.field]
3210
+ }
3207
3211
  tempRouteName = tempRouteName[i].name
3208
3212
  break
3209
3213
  }