Commit e8c2a405 authored by xieyishang's avatar xieyishang

~~

parent ddcda12a
...@@ -366,7 +366,9 @@ const Im_store = { ...@@ -366,7 +366,9 @@ const Im_store = {
// //msg,"msgitem1"); // //msg,"msgitem1");
if(msg.customElem.extension){ if(msg.customElem.extension){
if(msg.customElem.extension.indexOf("type")!=-1){ if(msg.customElem.extension.indexOf("type")!=-1){
msg.customdata = JSON.parse(msg.customElem.desc); if(msg.customElem.desc){
msg.customdata = JSON.parse(msg.customElem.desc);
}
} }
} }
...@@ -453,7 +455,9 @@ const Im_store = { ...@@ -453,7 +455,9 @@ const Im_store = {
//msg,"msgitem"); //msg,"msgitem");
if(msg.customElem.extension){ if(msg.customElem.extension){
if(msg.customElem.extension.indexOf("type")!=-1){ if(msg.customElem.extension.indexOf("type")!=-1){
msg.customdata = JSON.parse(msg.customElem.desc); if(msg.customElem.desc){
msg.customdata = JSON.parse(msg.customElem.desc);
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment