Browse Source

设置上传文件类型与打小

master_hella_20240701
chenfang 7 months ago
parent
commit
3895c48db4
  1. 4
      .env.development
  2. 4
      src/views/system/systemInstallPackage/systemInstallPackage.data.ts

4
.env.development

@ -4,10 +4,10 @@ NODE_ENV=development
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://localhost:12080'
VITE_BASE_URL='http://192.168.0.113:12080'
# 上传路径
VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://192.168.0.113:12080/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api

4
src/views/system/systemInstallPackage/systemInstallPackage.data.ts

@ -96,7 +96,9 @@ export const SystemInstallPackage = useCrudSchemas(reactive<CrudSchema[]>([
tableId: '',
tableName: ''
},
limit:1
limit:1,
fileType:['apk'],
fileSize:35
}
},
},

Loading…
Cancel
Save