update:提示
This commit is contained in:
parent
6b4590bbf6
commit
8c83f116d3
@ -354,7 +354,11 @@ const handleUploadRequest = async (options: any) => {
|
|||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
formData.append('file', options.file)
|
formData.append('file', options.file)
|
||||||
try {
|
try {
|
||||||
await importSportsHallStudentsTestData(formData)
|
const res = await importSportsHallStudentsTestData(formData)
|
||||||
|
if(res.code != 200) {
|
||||||
|
ElMessage.error(res.message || '上传失败')
|
||||||
|
return
|
||||||
|
}
|
||||||
ElMessage.success('导入成功')
|
ElMessage.success('导入成功')
|
||||||
importDialog.visible = false
|
importDialog.visible = false
|
||||||
fetchList()
|
fetchList()
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export default ({ mode }: ConfigEnv) => {
|
|||||||
console.log(`ENV:`, ENV)
|
console.log(`ENV:`, ENV)
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
base: 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/web/samart-static/202606081720/',
|
base: 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/web/samart-static/202606181400/',
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
// https: false,
|
// https: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user