improve: 取消加密

This commit is contained in:
From-wh 2023-05-18 09:03:39 +08:00
parent 4bc92d49a1
commit e7b144d15d
2 changed files with 1 additions and 5 deletions

View File

@ -196,7 +196,6 @@ new Vue({
}
});
}
console.log(to.name);
if (
[
'product_productAdd',

View File

@ -75,7 +75,6 @@ import '@/assets/js/canvas-nest.min';
import Verify from '@/components/verifition/Verify';
import { PrevLoading } from '@/utils/loading.js';
import { formatFlatteningRoutes, findFirstNonNullChildren } from '@/libs/system';
import { encryptWithKey } from '@/utils/ase.js';
export default {
components: {
@ -108,7 +107,6 @@ export default {
key: '',
copyright: '',
version: '',
publicKey: '',
};
},
created() {
@ -172,7 +170,6 @@ export default {
this.swiperList = data.slide.length ? data.slide : [{ slide: this.defaultSwiperList }];
this.key = data.key;
this.copyright = data.copyright;
this.publicKey = data.publicKey;
this.version = data.version;
this.login_captcha = data.login_captcha;
})
@ -196,7 +193,7 @@ export default {
this.loading = true;
AccountLogin({
account: this.formInline.username,
pwd: encryptWithKey(this.formInline.password, this.publicKey),
pwd: this.formInline.password,
key: this.key,
captchaType: 'blockPuzzle',
captchaVerification: params ? params.captchaVerification : '',