Przeglądaj źródła

Merge remote-tracking branch 'origin/dev5.3.1' into dev/new1

zhouna 5 lat temu
rodzic
commit
0ff758f4e9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/store/async-actions/fetchModules.js

+ 1 - 1
src/store/async-actions/fetchModules.js

@@ -32,7 +32,7 @@ const api={
 };
 
 export const getFeature = (item)=>{
-  const datas = json(api.getSymptomFeature+'?text='+item,{});
+  const datas = json(api.getSymptomFeature+'?text='+encodeURIComponent(item),{});
   return datas;
 }