修改环境变量配置,app目录-->uniapp

This commit is contained in:
Jason 2022-09-30 10:23:58 +08:00
parent 9b5b625680
commit 0cc7c8e7b9
251 changed files with 16 additions and 9 deletions

View File

@ -1,4 +0,0 @@
NODE_ENV = 'development'
# 请求域名
VITE_APP_BASE_URL='https://likeadmin-java.yixiangonline.com'

View File

@ -0,0 +1,4 @@
NODE_ENV = 'development'
# 请求域名
VITE_APP_BASE_URL=''

3
admin/.gitignore vendored
View File

@ -30,3 +30,6 @@ components.d.ts
*.sln
*.sw?
# .env
.env.development
.env.production

View File

@ -121,9 +121,9 @@ export default defineComponent({
const getAccept = computed(() => {
switch (props.type) {
case 'image':
return '.jpj,.png,.gif,.jpeg'
return '.jpj,.png,.gif,.jpeg,.ico,.bmp'
case 'video':
return '.wmv,.avi,.mpg,.mpeg,.3gp,.mov,.mp4,.flv,.rmvb,.mkv'
return '.wmv,.avi,.mov,.mp4,.flv,.rmvb'
default:
return '*'
}

View File

@ -1,3 +0,0 @@
# 请求域名
VITE_APP_BASE_URL='https://likeadmin-java-api.yixiangonline.com'

View File

@ -0,0 +1,3 @@
# 请求域名
VITE_APP_BASE_URL=''

View File

@ -25,3 +25,7 @@ coverage
*.njsproj
*.sln
*.sw?
# .env
.env.development
.env.production

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 679 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 831 B

After

Width:  |  Height:  |  Size: 831 B

View File

Before

Width:  |  Height:  |  Size: 839 B

After

Width:  |  Height:  |  Size: 839 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More