Explorar el Código

fix: 修改搜索编码格式

wangcz hace 7 años
padre
commit
a2f47cd7de
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/webapp/resources/js/index/app.js

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -25541,7 +25541,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             if($scope.keyword) {
                 // SessionService.set('brand', true);
                 // SessionService.unset('component');
-                window.location.href = $scope.toB2cLink + '/search?keywords=' + encodeURI($scope.keyword);
+                window.location.href = $scope.toB2cLink + '/search?keywords=' + encodeURIComponent($scope.keyword);
             }
         };