no message

This commit is contained in:
A1300399510 2024-11-11 18:32:05 +08:00
parent 37c6d21f45
commit 6b88429e74
2 changed files with 5 additions and 7 deletions

View File

@ -119,7 +119,7 @@
</div>
<script>
const { createApp, ref, onMounted, nextTick, onUnmounted, computed } = Vue
const projectIndex = createApp({
const search = createApp({
setup() {
onMounted(() => {
// kw.value = "术"
@ -256,9 +256,7 @@
},
})
projectIndex.component("base-bottom", base)
projectIndex.mount("#app")
search.mount("#app")
</script>
</body>
</html>

View File

@ -81,13 +81,13 @@ function objectToQueryString(obj = {}) {
return queryString ? "?" + queryString : ""
}
function decodeKey(encrypted) {
function decodeKey(encrypted,key) {
return new Promise((resolve, reject) => {
try {
const storedData = localStorage.getItem("basicData")
const basicData = JSON.parse(storedData)
console.log("basicData", basicData)
const key = basicData.encodekey
// const key = basicData.encodekey
console.log("encodekey", key)
const encryptedData = CryptoJS.enc.Base64.parse(encrypted)