Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
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
station
amos-convertor-view
Commits
113169b3
Commit
113169b3
authored
Apr 15, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理代码
parent
77d890de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
index.js
src/view/planMgmt/common/upload/index.js
+0
-2
index.js
src/view/planMgmt/view/pubview/taskTabs/index.js
+2
-2
No files found.
src/view/planMgmt/common/upload/index.js
View file @
113169b3
...
...
@@ -32,8 +32,6 @@ class Upload extends Component {
let
fileName
=
event
.
target
.
files
[
i
].
name
;
obj
.
name
=
fileName
.
substring
(
0
,
fileName
.
lastIndexOf
(
"."
));
obj
.
type
=
fileName
.
substring
(
fileName
.
lastIndexOf
(
"."
),
fileName
.
length
);
// obj.name = event.target.files[i].name.split('.')[0];
// obj.type = `.${event.target.files[i].name.split('.')[1]}`;
obj
.
file
=
event
.
target
.
files
[
i
];
obj
.
key
=
fileList
.
length
+
i
;
fileArry
.
push
(
obj
);
...
...
src/view/planMgmt/view/pubview/taskTabs/index.js
View file @
113169b3
...
...
@@ -21,8 +21,8 @@ class taskTabs extends Component {
this
.
state
=
{
taskTabsShow
:
true
,
tabs
:[
{
key
:
1
,
type
:
'
huma
n'
,
icon
:
'person'
,
models
:[]},
{
key
:
2
,
type
:
'
vehicle
'
,
icon
:
'car'
,
models
:[]}
{
key
:
1
,
type
:
'
perso
n'
,
icon
:
'person'
,
models
:[]},
{
key
:
2
,
type
:
'
car
'
,
icon
:
'car'
,
models
:[]}
],
activeKey
:
''
,
};
...
...
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