Browse Source

fix: 修改搜索编码格式

wangcz 6 years ago
parent
commit
a2f47cd7de
1 changed files with 1 additions and 1 deletions
  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);
             }
         };