Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangtao
2 years ago
Commit
995224ec6ce16d022edcdf5cc5df1b07149b8eb0
1 parent
bab1c264
chore: 修改文件上传大小为现场提供jar上传更新操作
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.html
View file @
995224e
...
...
@@ -28,8 +28,7 @@
</template>
</el-upload>
<div
class=
"text-tip"
style=
"position: absolute;bottom:30px;left: 20px;color:#f78989"
>
<span
v-if=
"!multiple"
>
单文件上传,
</span>
文件上传大小限制200M
<span
v-if=
"!multiple"
>
仅支持单文件上传!
</span>
</div>
</template>
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.js
View file @
995224e
...
...
@@ -137,7 +137,9 @@ export default {
/*文件大小限制更改为200M
* lu 20211206
*/
if
(
fileObj
.
size
>
209715200
)
{
// 【zpj】去掉文件大小验证,为现场人员提供jar上传下载使用
//if (fileObj.size > 209715200) {
if
(
false
)
{
proxy
.
$global
.
showMsg
(
'文件最大为200M'
,
'warning'
);
}
else
{
...
...
Please
register
or
login
to post a comment