|
@@ -851,7 +851,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
res.data.rows.forEach((item, index) => {
|
|
|
if (typeof item.jsonStr == "string") {
|
|
|
- item.jsonStr = JSON.parse(item.jsonStr);
|
|
|
+ item.jsonStr = JSON.parse(item.jsonStr) || [];
|
|
|
|
|
|
if (item.type == 2) {
|
|
|
//多选
|
|
@@ -945,7 +945,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
res.data.rows.forEach((item, index) => {
|
|
|
if (typeof item.jsonStr == "string") {
|
|
|
- item.jsonStr = JSON.parse(item.jsonStr);
|
|
|
+ item.jsonStr = JSON.parse(item.jsonStr) || [];
|
|
|
|
|
|
if (item.type == 2) {
|
|
|
//多选
|
|
@@ -1086,7 +1086,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
res.data.data.forEach((item, index) => {
|
|
|
if (typeof item.jsonStr == "string") {
|
|
|
- item.jsonStr = JSON.parse(item.jsonStr);
|
|
|
+ item.jsonStr = JSON.parse(item.jsonStr) || [];
|
|
|
|
|
|
if (item.type == 2) {
|
|
|
//多选
|