Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
3fd42e16
Commit
3fd42e16
authored
Oct 30, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扩大版本更新限制范围
parent
1ee36973
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.vue
src/views/system/version/index.vue
+1
-1
No files found.
src/views/system/version/index.vue
View file @
3fd42e16
...
@@ -192,7 +192,7 @@
...
@@ -192,7 +192,7 @@
handleBeforeUpload
(
file
)
{
handleBeforeUpload
(
file
)
{
this
.
loading
=
true
this
.
loading
=
true
// 校检文件后缀名
// 校检文件后缀名
if
(
file
&&
file
.
name
&&
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)
+
1
)
===
'apk'
)
{
if
(
file
&&
file
.
name
&&
(
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)
+
1
)
===
'apk'
||
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)
+
1
)
===
'wgt'
)
)
{
return
true
;
return
true
;
}
else
{
}
else
{
this
.
$message
.
error
(
'请上传APK安装包'
);
this
.
$message
.
error
(
'请上传APK安装包'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment