Add the following statement to vite.config.ts:
server: { // ← ← ← ← ← ← host: '0.0.0.0' // ← 新增内容 ← }