fix(web): 关闭 mfsu 缓存 + landing 文案标点修正
mfsu 设为 false 避免开发缓存问题;landing 页中文标点后补空格。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1d987277c6
commit
008781c5fe
|
|
@ -125,9 +125,7 @@ export default defineConfig({
|
|||
request: {
|
||||
dataField: ''
|
||||
},
|
||||
mfsu: {
|
||||
strategy: 'normal'
|
||||
},
|
||||
mfsu: false,
|
||||
hash: true,
|
||||
esbuildMinifyIIFE: true,
|
||||
npmClient: 'pnpm'
|
||||
|
|
|
|||
|
|
@ -53,7 +53,8 @@ const steps = [
|
|||
{ h: '溯源与整改建议', p: '若超标,公式溯源出贡献最大的材料并排序,给出通风或换材的可行整改方案。' }
|
||||
]
|
||||
|
||||
const hasToken = () => !!localStorage.getItem(LOC_STOR_KEY.AUTH_TOKEN)
|
||||
const hasToken = () =>
|
||||
!!localStorage.getItem(LOC_STOR_KEY.AUTH_TOKEN)
|
||||
const scrollTop = () => window.scrollTo({ top: 0, behavior: 'smooth' })
|
||||
const scrollToId = (id: string) => document.getElementById(id)?.scrollIntoView({ behavior: 'smooth' })
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue