Parcourir la source

Merge branch 'fix-wangcz' into dev

wangcz il y a 7 ans
Parent
commit
1f86671267
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
             }
         };