Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cac4f34b
authored
Jan 09, 2025
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1221
1 parent
83f4732b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/utils/http.js
src/views/assessZC/projectView.vue
src/utils/http.js
View file @
cac4f34
...
@@ -98,7 +98,7 @@ axios.interceptors.response.use(response => {
...
@@ -98,7 +98,7 @@ axios.interceptors.response.use(response => {
console
.
log
(
'未知错误'
);
console
.
log
(
'未知错误'
);
// Message.error('连接到服务器失败')
// Message.error('连接到服务器失败')
}
}
return
Promise
.
re
solve
(
err
.
response
);
return
Promise
.
re
ject
(
'err'
);
});
});
export
function
get
(
url
,
params
=
{})
{
export
function
get
(
url
,
params
=
{})
{
...
...
src/views/assessZC/projectView.vue
View file @
cac4f34
...
@@ -827,9 +827,11 @@ export default {
...
@@ -827,9 +827,11 @@ export default {
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
// console.error(error);
console
.
error
(
'error'
);
this
.
fileList
=
[];
this
.
$refs
[
"upload"
+
arguments
[
2
].
mid
].
clearFiles
();
// this.$message("上传失败");
// this.$message("上传失败");
});
})
.
finally
(()
=>
console
.
log
(
'Request completed'
));
;
},
},
handleSuccess
(
response
,
file
,
fileList
)
{
handleSuccess
(
response
,
file
,
fileList
)
{
// 提交保存成功后清空已上传的文件
// 提交保存成功后清空已上传的文件
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment