CRM_26-04-22#story#8495,潜在供应商H5页面提交信息,信息审核,提交补充信息与退回理由的优化与修复(跳转详情修改2)

This commit is contained in:
2026-05-15 14:20:58 +08:00
parent 0b4127a0e2
commit c55f6b4045

View File

@@ -202,6 +202,7 @@
} }
}, },
async mounted() { async mounted() {
const urlParams = new URLSearchParams(window.location.search);
const lastRoute = localStorage.getItem('lastRoute'); const lastRoute = localStorage.getItem('lastRoute');
this.id = this.$route.query.id || urlParams.get('id'); this.id = this.$route.query.id || urlParams.get('id');
if (lastRoute && !this.id) { if (lastRoute && !this.id) {
@@ -209,7 +210,6 @@
this.$router.replace({ name, query }); this.$router.replace({ name, query });
return; return;
} }
const urlParams = new URLSearchParams(window.location.search);
await this.getAreaTree(); await this.getAreaTree();
if(this.id) { if(this.id) {