Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
43d75587
Commit
43d75587
authored
Jan 22, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推代码格式
parent
64e35831
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
attendance-performance-manager-ui/admin/src/components/FileUpload.vue
...erformance-manager-ui/admin/src/components/FileUpload.vue
+0
-2
No files found.
attendance-performance-manager-ui/admin/src/components/FileUpload.vue
View file @
43d75587
...
...
@@ -151,14 +151,12 @@ export default {
list
()
{
let
temp
=
1
;
if
(
this
.
value
)
{
console
.
log
(
"
value
"
,
this
.
value
);
// 首先将值转为数组
const
list
=
Array
.
isArray
(
this
.
value
)
?
this
.
value
:
[
this
.
value
];
list
&&
list
.
forEach
((
v
)
=>
{
v
.
url
.
indexOf
(
"
https
"
)
>=
0
?
(
v
.
url
=
JSON
.
parse
(
v
.
url
))
:
v
.
url
;
});
console
.
log
(
list
,
'
1233
'
);
// 然后将数组转为对象数组
this
.
fileList
=
list
.
map
((
item
)
=>
{
item
=
{
...
...
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