Skip to content

Commit b48aace

Browse files
committed
fix: vuex
1 parent 5b4a1ed commit b48aace

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/modules/Home/views/home.vue

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export default defineComponent({
6464
onMounted(() => {
6565
setTitle('home')
6666
console.log(common.title)
67-
console.log(import.meta.env.VITE_APP_ENV)
6867
})
6968
7069
const form = reactive({

src/store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for (const path in domainStoreFiles) {
1111
}
1212

1313
const store = createStore({
14-
strict: import.meta.env.VITE_APP_ENV !== 'production',
14+
strict: import.meta.env.DEV,
1515
modules: {
1616
...globalStores,
1717
...domainStores

0 commit comments

Comments
 (0)