环境变量修改为VITE前缀
This commit is contained in:
@@ -210,7 +210,7 @@ class MusicPage extends Page {
|
||||
}
|
||||
|
||||
const store = useStore()
|
||||
const apiBase = import.meta.env.VUE_APP_API_BASE
|
||||
const apiBase = import.meta.env.VITE_APP_API_BASE
|
||||
const { loading, modalLoading, total, search, setLoadData, loadDataBase, reset, pageChange, pageSizeChange } = useBaseList(new MusicPage())
|
||||
const currentRow = ref<MusicModel | null>(null)
|
||||
const libIdSelected = ref<string | null>(null)
|
||||
|
||||
@@ -105,7 +105,7 @@ class PhotoWallPage extends Page {
|
||||
}
|
||||
|
||||
const store = useStore()
|
||||
const apiBase = import.meta.env.VUE_APP_API_BASE
|
||||
const apiBase = import.meta.env.VITE_APP_API_BASE
|
||||
const { loading, total, search, setLoadData, loadDataBase, reset, pageChange, pageSizeChange } = useBaseList(new PhotoWallPage())
|
||||
|
||||
const allowUploadExt = ['jpg', 'jpeg', 'png']
|
||||
|
||||
@@ -87,7 +87,7 @@ import { SourceImageModel } from '@/model/api/source-image'
|
||||
import http from '@/utils/http'
|
||||
|
||||
const store = useStore()
|
||||
const apiBase = import.meta.env.VUE_APP_API_BASE
|
||||
const apiBase = import.meta.env.VITE_APP_API_BASE
|
||||
const { loading, total, search, setLoadData, pageChange, pageSizeChange, datetimeFormat } = useBaseList(new Page())
|
||||
|
||||
const allowUploadExt = ['jpg', 'jpeg', 'png', 'svg', 'ico']
|
||||
|
||||
Reference in New Issue
Block a user