@@ -103,7 +103,7 @@ service.interceptors.request.use(
// 开启参数加密
if (config.openEncryption) {
- console.log(config)
+ // console.log(config)
const raw = config.url.split('?')[1]
const body = {
...config.data,
@@ -29,7 +29,7 @@ export const encryptionFun = ({raw, body, appId, AppSecret}) => {
const paramsStr = _initSign.slice(1, _initSign.length) + AppSecret
let str = ''
if (raw) {
- str += raw
+ str += decodeURIComponent(raw)
}
if (body && Object.keys(body).length) {
str += decodeURIComponent(JSON.stringify(body))
@@ -1,4 +1,5 @@
<template>
+<div>
<v-card class="card-box pa-5" style="height: 100%;">
<div class="d-flex flex-column align-center" :class="{'v-center': init}">
<TextUI
@@ -88,6 +89,7 @@
<CtForm :items="formItems" style="width: 100%;"></CtForm>
</div>
</CtDialog>
+</div>
</template>
<script setup>