From d5bba2d9201b9d3b3705d6eef12e4ad2ccdcecf6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 30 十一月 2021 22:26:07 +0800 Subject: [PATCH] 2021-11-30 --- src/router/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 65d856c..78c75a3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -84,8 +84,9 @@ let _s = md5('mksoft' + moment().format('YYYYMMDD')) let isauth = authCode && authCode.includes(_s) let key = md5(window.GLOB.appId + 'minke_software' + window.GLOB.appkey).toUpperCase().substr(-6) + let key1 = window.GLOB.licenseKey ? window.GLOB.licenseKey.substring(0, 6) : '' - if (window.GLOB.licenseKey === key) { + if (key1 === key) { isauth = true } -- Gitblit v1.8.0