update config
This commit is contained in:
parent
150e150cec
commit
e6fcf38f62
|
@ -20,7 +20,7 @@ export default defineConfig(({ command, mode }) => {
|
||||||
const prodMock = true;
|
const prodMock = true;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
base: './',
|
base: '/', // hash模式配置"./",url模式配置"/"
|
||||||
define: {
|
define: {
|
||||||
'process.env': env
|
'process.env': env
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user