fix:参数接收问题修复

This commit is contained in:
binaryify
2024-05-07 22:46:50 +08:00
parent 076ee17286
commit 5b30e1b222
4 changed files with 12 additions and 3 deletions
+5 -2
View File
@@ -47,8 +47,11 @@
async decrypt() {
try {
const res = await axios({
url: `/eapi/decrypt?hexString=${this.hexString}&isReq=${this.isReq}`,
method: 'post'
url: `/eapi/decrypt?isReq=${this.isReq}`,
method: 'post',
data: {
hexString: this.hexString
}
})
this.result = JSON.stringify(res.data.data)
console.log(res.data);