Browse Source

修改报错

郎学彬 3 years ago
parent
commit
1d74cf9b60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      front-vue/src/utils/common.js

+ 1 - 1
front-vue/src/utils/common.js

@@ -95,7 +95,7 @@ export function getRepeatToken() {
     if (authTokent != null) {
         return authTokent + ":" + date.getHours() + date.getMinutes() + date.getSeconds();
     } else {
-        charSet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
+        var charSet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
         var randomString = '';
         for (var i = 0; i < 6; i++) {
             var randomPoz = Math.floor(Math.random() * charSet.length);