From a61aec4e29728a6200b2e2317a1071bcf87afdf4 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Tue, 18 Nov 2025 17:54:16 +0800 Subject: [PATCH] 1.重新刷新浏览器地址的时候,清除浏览器缓存 --- src/models/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/app.js b/src/models/app.js index 254eccd..a80e366 100644 --- a/src/models/app.js +++ b/src/models/app.js @@ -8,7 +8,7 @@ import { Toast } from 'antd-mobile'; import * as commonFunc from '../components/Common/commonFunc';/* 通用单据方法 */ if (location.pathname === '/' || location.pathname === '/login') { - // localStorage.clear(); + localStorage.clear(); } export default { -- libgit2 0.22.2