|
|
@@ -33,7 +33,11 @@ Page({
|
|
|
onLoad(options) {
|
|
|
let detail = JSON.parse(options.data),
|
|
|
customersnote = detail.customersnote;
|
|
|
- let industry = JSON.parse(customersnote.industry)
|
|
|
+ let industry = []
|
|
|
+ try {
|
|
|
+ industry = JSON.parse(customersnote.industry)
|
|
|
+ } catch (error) {
|
|
|
+ }
|
|
|
this.setData({
|
|
|
detail,
|
|
|
showMsgList: [{
|