瀏覽代碼

修改报错

郎学彬 3 年之前
父節點
當前提交
1d74cf9b60
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);