Commit 29c1a95e authored by FE-安焕焕's avatar FE-安焕焕 👣

orderNo存储问题

parent a995d3d9
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</template> </template>
<script> <script>
import { queryPayStatus } from '@/api/pay.api'; import { queryPayStatus } from '@/api/pay.api';
import localStorage from '@/service/localStorage.service'; import cookies from '@/service/cookieStorage.service';
import { goUrlExtends } from './extends'; import { goUrlExtends } from './extends';
import { isApp } from '@/service/validation.service'; import { isApp } from '@/service/validation.service';
export default { export default {
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
}; };
}, },
created() { created() {
this.orderNo = this.$route.query.orderNo || localStorage.get('orderNo')?.orderNo; this.orderNo = this.$route.query.orderNo || cookies.get('orderNo')?.orderNo;
if (!isApp) { if (!isApp) {
setTimeout(() => { setTimeout(() => {
window.location.href = 'xyqb://openApp'; window.location.href = 'xyqb://openApp';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment