fix: 解决 getDetail 接口报错的问题

This commit is contained in:
hz
2025-10-30 14:05:07 +08:00
parent 58c1033508
commit ec87c4edeb

View File

@@ -182,6 +182,8 @@ export default {
beforeRouteEnter(to, from, next) {
/*当进入的时候清清除 localstorage 的内容*/
;['saleInsuredInfo', 'saleInsuredPersonInfo', 'chooseProducts', "hint"].forEach(type => {
/*添加 isFrom = sale */
localStorage.setItem("isFrom", "sale")
localStorage.removeItem(type)
})
next()