Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
console
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
console
Commits
cbf3c091
Commit
cbf3c091
authored
Apr 24, 2017
by
nano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning
parent
86a0c1dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
141 additions
and
186 deletions
+141
-186
.idea/workspace.xml
.idea/workspace.xml
+128
-169
src/routes/AppDetail.js
src/routes/AppDetail.js
+12
-12
src/routes/Apps.js
src/routes/Apps.js
+1
-5
No files found.
.idea/workspace.xml
View file @
cbf3c091
...
@@ -3,11 +3,8 @@
...
@@ -3,11 +3,8 @@
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"7dc474d0-9fc0-4b76-8c2f-3c98df702116"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"7dc474d0-9fc0-4b76-8c2f-3c98df702116"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.roadhogrc.js"
afterPath=
"$PROJECT_DIR$/.roadhogrc.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/AppDetail.js"
afterPath=
"$PROJECT_DIR$/src/routes/AppDetail.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/package.json"
afterPath=
"$PROJECT_DIR$/package.json"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/Apps.js"
afterPath=
"$PROJECT_DIR$/src/routes/Apps.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/public/index.html"
afterPath=
"$PROJECT_DIR$/public/index.html"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/config.js"
afterPath=
"$PROJECT_DIR$/src/config.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/yarn.lock"
afterPath=
"$PROJECT_DIR$/yarn.lock"
/>
</list>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
<ignored
path=
"$PROJECT_DIR$/temp/"
/>
...
@@ -25,61 +22,21 @@
...
@@ -25,61 +22,21 @@
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf>
<leaf>
<file
leaf-file-name=
"
package.json
"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
Apps.js
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
package.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/routes/Apps.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
144
"
>
<state
relative-caret-position=
"
228
"
>
<caret
line=
"
8"
column=
"4"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"4"
selection-end-line=
"8"
selection-end-column=
"4
"
/>
<caret
line=
"
66"
column=
"12"
lean-forward=
"true"
selection-start-line=
"66"
selection-start-column=
"12"
selection-end-line=
"66"
selection-end-column=
"12
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
index.html"
pinned=
"false"
current-in-tab=
"fals
e"
>
<file
leaf-file-name=
"
Create.js"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
public/index.html
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/routes/Apps/Create.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"162"
>
<state
relative-caret-position=
"225"
>
<caret
line=
"9"
column=
"6"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"6"
selection-end-line=
"9"
selection-end-column=
"6"
/>
<caret
line=
"20"
column=
"7"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"7"
selection-end-line=
"20"
selection-end-column=
"7"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"config.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/config.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<caret
line=
"5"
column=
"0"
lean-forward=
"true"
selection-start-line=
"5"
selection-start-column=
"0"
selection-end-line=
"5"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"user.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/models/user.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"8"
>
<caret
line=
"6"
column=
"13"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"13"
selection-end-line=
"6"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Common.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/models/Common.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-350"
>
<caret
line=
"14"
column=
"10"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"10"
selection-end-line=
"14"
selection-end-column=
"10"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
".roadhogrc.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/.roadhogrc.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-78"
>
<caret
line=
"9"
column=
"51"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"51"
selection-end-line=
"9"
selection-end-column=
"51"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -89,36 +46,36 @@
...
@@ -89,36 +46,36 @@
</component>
</component>
<component
name=
"FindInProjectRecents"
>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<findStrings>
<find>
0
</find>
<find>
0.0.1
</find>
<find>
packages
</find>
<find>
add
</find>
<find>
pack.state
</find>
<find>
addpack
</find>
<find>
onadd
</find>
<find>
onAddPackage
</find>
<find>
didmont
</find>
<find>
保存
</find>
<find>
remove
</find>
<find>
发布
</find>
<find>
fa
</find>
<find>
上传
</find>
<find>
urlUpload
</find>
<find>
url
</find>
<find>
disable
</find>
<find>
delete
</find>
<find>
action
</find>
<find>
collapsed
</find>
<find>
\n \}\,
</find>
<find>
isCreate
</find>
<find>
status
</find>
<find>
this.props.isup
</find>
<find>
progress
</find>
<find>
progress
</find>
<find>
/
</find>
<find>
/
</find>
<find>
/si
</find>
<find>
/si
</find>
<find>
/sign
</find>
<find>
/sign
</find>
<find>
/signi
</find>
<find>
/signi
</find>
<find>
validate
</find>
<find>
/signin
</find>
<find>
/signin
</find>
<find>
t
</find>
<find>
table
</find>
<find>
<
</find>
<find>
<
Ta
</find>
<find>
<
Table
</find>
<find>
pr
</find>
<find>
propyupe
</find>
<find>
propyup
</find>
<find>
propyu
</find>
<find>
propy
</find>
<find>
prop
</find>
<find>
proptype
</find>
<find>
cre
</find>
<find>
creat
</find>
<find>
createcla
</find>
<find>
createclass
</find>
<find>
isMounted
</find>
<find>
Select
</find>
<find>
F
</find>
<find>
Form.I
</find>
<find>
Form.Item
</find>
<find>
homepage
</find>
<find>
validateStatus
</find>
</findStrings>
</findStrings>
</component>
</component>
<component
name=
"Git.Settings"
>
<component
name=
"Git.Settings"
>
...
@@ -141,19 +98,19 @@
...
@@ -141,19 +98,19 @@
<option
value=
"$PROJECT_DIR$/src/routes/Login.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/Login.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/user.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/user.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/LoginCallback.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/LoginCallback.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/App.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/App.js"
/>
<option
value=
"$PROJECT_DIR$/src/services/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/services/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/packages.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/packages.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/Common.js"
/>
<option
value=
"$PROJECT_DIR$/src/models/Common.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/AppDetail.js"
/>
<option
value=
"$PROJECT_DIR$/src/index.js"
/>
<option
value=
"$PROJECT_DIR$/src/index.js"
/>
<option
value=
"$PROJECT_DIR$/.travis.yml"
/>
<option
value=
"$PROJECT_DIR$/.travis.yml"
/>
<option
value=
"$PROJECT_DIR$/package.json"
/>
<option
value=
"$PROJECT_DIR$/package.json"
/>
<option
value=
"$PROJECT_DIR$/public/index.html"
/>
<option
value=
"$PROJECT_DIR$/src/config.js"
/>
<option
value=
"$PROJECT_DIR$/src/config.js"
/>
<option
value=
"$PROJECT_DIR$/.roadhogrc.js"
/>
<option
value=
"$PROJECT_DIR$/.roadhogrc.js"
/>
<option
value=
"$PROJECT_DIR$/public/index.html"
/>
<option
value=
"$PROJECT_DIR$/src/routes/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/AppDetail.js"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -169,8 +126,8 @@
...
@@ -169,8 +126,8 @@
<handled-path
value=
"$PROJECT_DIR$/node_modules"
/>
<handled-path
value=
"$PROJECT_DIR$/node_modules"
/>
</component>
</component>
<component
name=
"ProjectFrameBounds"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
45
3"
/>
<option
name=
"x"
value=
"
62
3"
/>
<option
name=
"y"
value=
"
11
4"
/>
<option
name=
"y"
value=
"
9
4"
/>
<option
name=
"width"
value=
"1225"
/>
<option
name=
"width"
value=
"1225"
/>
<option
name=
"height"
value=
"777"
/>
<option
name=
"height"
value=
"777"
/>
</component>
</component>
...
@@ -229,7 +186,7 @@
...
@@ -229,7 +186,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
util
s"
/>
<option
name=
"myItemId"
value=
"
route
s"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -243,11 +200,7 @@
...
@@ -243,11 +200,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemId"
value=
"public"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"models"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -367,15 +320,15 @@
...
@@ -367,15 +320,15 @@
<workItem
from=
"1492741762508"
duration=
"2198000"
/>
<workItem
from=
"1492741762508"
duration=
"2198000"
/>
<workItem
from=
"1492753784584"
duration=
"5181000"
/>
<workItem
from=
"1492753784584"
duration=
"5181000"
/>
<workItem
from=
"1493000910904"
duration=
"789000"
/>
<workItem
from=
"1493000910904"
duration=
"789000"
/>
<workItem
from=
"1493002113686"
duration=
"
3924
000"
/>
<workItem
from=
"1493002113686"
duration=
"
6453
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"8
1949
000"
/>
<option
name=
"totallyTimeSpent"
value=
"8
4478
000"
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
453"
y=
"11
4"
width=
"1225"
height=
"777"
extended-state=
"0"
/>
<frame
x=
"
623"
y=
"9
4"
width=
"1225"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -386,6 +339,7 @@
...
@@ -386,6 +339,7 @@
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32966226"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32966226"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.42627737"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.42627737"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TypeScript"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2898671"
sideWeight=
"0.49315068"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2898671"
sideWeight=
"0.49315068"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -395,7 +349,6 @@
...
@@ -395,7 +349,6 @@
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Inspection"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Inspection"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TypeScript"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Hierarchy"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.24981357"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Hierarchy"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.24981357"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Ant Build"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Ant Build"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
</layout>
</layout>
...
@@ -431,13 +384,6 @@
...
@@ -431,13 +384,6 @@
<watches-manager
/>
<watches-manager
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"54"
>
<caret
line=
"9"
column=
"0"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"0"
selection-end-line=
"9"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<state
relative-caret-position=
"0"
>
...
@@ -473,13 +419,6 @@
...
@@ -473,13 +419,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/dist/index.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"252"
>
<caret
line=
"0"
column=
"1627"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"1627"
selection-end-line=
"0"
selection-end-column=
"1627"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/IndexPage.css"
/>
<entry
file=
"file://$PROJECT_DIR$/src/routes/IndexPage.css"
/>
<entry
file=
"file://$PROJECT_DIR$/.roadhogrc.mock.js"
>
<entry
file=
"file://$PROJECT_DIR$/.roadhogrc.mock.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
@@ -510,13 +449,6 @@
...
@@ -510,13 +449,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/dist/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"12"
column=
"19201"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"19201"
selection-end-line=
"12"
selection-end-column=
"19201"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/node_modules/antd/lib/tabs/index.d.ts"
>
<entry
file=
"file://$PROJECT_DIR$/node_modules/antd/lib/tabs/index.d.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"220"
>
<state
relative-caret-position=
"220"
>
...
@@ -578,13 +510,6 @@
...
@@ -578,13 +510,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps/All.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-97"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/App/Create.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/App/Create.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"397"
>
<state
relative-caret-position=
"397"
>
...
@@ -613,20 +538,6 @@
...
@@ -613,20 +538,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"433"
>
<caret
line=
"102"
column=
"40"
lean-forward=
"false"
selection-start-line=
"102"
selection-start-column=
"40"
selection-end-line=
"102"
selection-end-column=
"40"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps/Create.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-200"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/components/Common/Nav.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/components/Common/Nav.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"414"
>
<state
relative-caret-position=
"414"
>
...
@@ -655,20 +566,6 @@
...
@@ -655,20 +566,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/AppDetail.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"441"
>
<caret
line=
"571"
column=
"84"
lean-forward=
"false"
selection-start-line=
"571"
selection-start-column=
"84"
selection-end-line=
"571"
selection-end-column=
"84"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/models/packages.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"43"
column=
"19"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"19"
selection-end-line=
"43"
selection-end-column=
"19"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app.json"
>
<entry
file=
"file://$PROJECT_DIR$/app.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"304"
>
<state
relative-caret-position=
"304"
>
...
@@ -698,44 +595,50 @@
...
@@ -698,44 +595,50 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
src/router.js
"
>
<entry
file=
"file://$PROJECT_DIR$/
package.json
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"108"
>
<state
relative-caret-position=
"144"
>
<caret
line=
"6"
column=
"0"
lean-forward=
"false"
selection-start-line=
"6"
selection-start-column=
"0"
selection-end-line=
"6"
selection-end-column=
"0"
/>
<caret
line=
"8"
column=
"4"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"4"
selection-end-line=
"8"
selection-end-column=
"4"
/>
<folding>
<folding
/>
<element
signature=
"e#0#26#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
public/index.html
"
>
<entry
file=
"file://$PROJECT_DIR$/
.roadhogrc.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
162
"
>
<state
relative-caret-position=
"
360
"
>
<caret
line=
"
9"
column=
"6"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"6"
selection-end-line=
"9"
selection-end-column=
"
6"
/>
<caret
line=
"
20"
column=
"26"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"26"
selection-end-line=
"20"
selection-end-column=
"2
6"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
package.json
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/models/Common.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
144
"
>
<state
relative-caret-position=
"
216
"
>
<caret
line=
"
8"
column=
"4"
lean-forward=
"true"
selection-start-line=
"8"
selection-start-column=
"4"
selection-end-line=
"8"
selection-end-column=
"4
"
/>
<caret
line=
"
14"
column=
"10"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"10"
selection-end-line=
"14"
selection-end-column=
"10
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/
models/Common
.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/
routes/Apps/All
.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-350"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"14"
column=
"10"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"10"
selection-end-line=
"14"
selection-end-column=
"10"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/models/packages.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"252"
>
<caret
line=
"56"
column=
"11"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"11"
selection-end-line=
"56"
selection-end-column=
"11"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/models/user.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/models/user.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
8
"
>
<state
relative-caret-position=
"
224
"
>
<caret
line=
"
6"
column=
"13"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"13"
selection-end-line=
"6"
selection-end-column=
"13
"
/>
<caret
line=
"
18"
column=
"20"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"20"
selection-end-line=
"18"
selection-end-column=
"20
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -743,15 +646,71 @@
...
@@ -743,15 +646,71 @@
<entry
file=
"file://$PROJECT_DIR$/src/config.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/config.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<state
relative-caret-position=
"90"
>
<caret
line=
"5"
column=
"0"
lean-forward=
"
tru
e"
selection-start-line=
"5"
selection-start-column=
"0"
selection-end-line=
"5"
selection-end-column=
"0"
/>
<caret
line=
"5"
column=
"0"
lean-forward=
"
fals
e"
selection-start-line=
"5"
selection-start-column=
"0"
selection-end-line=
"5"
selection-end-column=
"0"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.roadhogrc.js"
>
<entry
file=
"file://$PROJECT_DIR$/dist/index.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"4"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"4"
selection-end-line=
"0"
selection-end-column=
"4"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/node_modules/antd/lib/table/Table.d.ts"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"122"
>
<caret
line=
"60"
column=
"21"
lean-forward=
"false"
selection-start-line=
"60"
selection-start-column=
"21"
selection-end-line=
"60"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/dist/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"18"
>
<caret
line=
"3"
column=
"21094"
lean-forward=
"false"
selection-start-line=
"3"
selection-start-column=
"21094"
selection-end-line=
"3"
selection-end-column=
"21094"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/AppDetail.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"95"
>
<caret
line=
"503"
column=
"21"
lean-forward=
"true"
selection-start-line=
"503"
selection-start-column=
"21"
selection-end-line=
"503"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"216"
>
<caret
line=
"17"
column=
"4"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"4"
selection-end-line=
"17"
selection-end-column=
"4"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"234"
>
<caret
line=
"13"
column=
"33"
lean-forward=
"true"
selection-start-line=
"13"
selection-start-column=
"33"
selection-end-line=
"13"
selection-end-column=
"33"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"66"
column=
"12"
lean-forward=
"true"
selection-start-line=
"66"
selection-start-column=
"12"
selection-end-line=
"66"
selection-end-column=
"12"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps/Create.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-78
"
>
<state
relative-caret-position=
"
225
"
>
<caret
line=
"
9"
column=
"51"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"51"
selection-end-line=
"9"
selection-end-column=
"51
"
/>
<caret
line=
"
20"
column=
"7"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"7"
selection-end-line=
"20"
selection-end-column=
"7
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
...
src/routes/AppDetail.js
View file @
cbf3c091
...
@@ -476,10 +476,12 @@ class AppDetail extends React.Component {
...
@@ -476,10 +476,12 @@ class AppDetail extends React.Component {
<
/FormItem
>
<
/FormItem
>
<
FormItem
<
FormItem
{...
formItemLayout
}
{...
formItemLayout
}
>
help
=
"
以 http:// 或 https:// 开头,没有可留空
"
>
{
getFieldDecorator
(
'
homepage
'
,
{
{
getFieldDecorator
(
'
homepage
'
,
{
initialValue
:
homepage
initialValue
:
homepage
,
rules
:
[{
type
:
'
url
'
,
message
:
'
以 http:// 或 https:// 开头,没有可留空
'
,
}]
})(
})(
<
Input
addonBefore
=
{
<
Icon
type
=
"
home
"
/>
}
placeholder
=
"
网站
"
/>
<
Input
addonBefore
=
{
<
Icon
type
=
"
home
"
/>
}
placeholder
=
"
网站
"
/>
)}
)}
...
@@ -496,13 +498,11 @@ class AppDetail extends React.Component {
...
@@ -496,13 +498,11 @@ class AppDetail extends React.Component {
<
/FormItem
>
<
/FormItem
>
<
FormItem
<
FormItem
{...
formItemLayout
}
{...
formItemLayout
}
>
help
=
"
JSON string[],不会写请联系 zh99998@gmail.com
"
>
{
getFieldDecorator
(
'
tags
'
,
{
{
getFieldDecorator
(
'
tags
'
,
{
initialValue
:
tags
initialValue
:
tags
})(
})(
<
Select
tags
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
标签
"
>
<
Select
mode
=
"
tags
"
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
标签
"
>
<
/Select
>
<
/Select
>
)}
)}
<
/FormItem
>
<
/FormItem
>
...
@@ -512,7 +512,7 @@ class AppDetail extends React.Component {
...
@@ -512,7 +512,7 @@ class AppDetail extends React.Component {
initialValue
:
locales
initialValue
:
locales
})(
})(
<
Select
<
Select
tags
mode
=
"
tags
"
style
=
{{
width
:
'
100%
'
}}
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
游戏支持的语言
"
>
placeholder
=
"
游戏支持的语言
"
>
{
defLocales
.
map
((
locale
,
i
)
=>
{
{
defLocales
.
map
((
locale
,
i
)
=>
{
...
@@ -715,7 +715,7 @@ class AppDetail extends React.Component {
...
@@ -715,7 +715,7 @@ class AppDetail extends React.Component {
{
getFieldDecorator
(
`dependencies[
${
platform
}
]`
,
{
{
getFieldDecorator
(
`dependencies[
${
platform
}
]`
,
{
initialValue
:
dependencies
[
platform
]
initialValue
:
dependencies
[
platform
]
})(
})(
<
Select
tags
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
dependencies
"
>
<
Select
mode
=
"
tags
"
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
dependencies
"
>
<
/Select
>
<
/Select
>
)}
)}
<
/FormItem
>
<
/FormItem
>
...
@@ -724,7 +724,7 @@ class AppDetail extends React.Component {
...
@@ -724,7 +724,7 @@ class AppDetail extends React.Component {
{
getFieldDecorator
(
`references[
${
platform
}
]`
,
{
{
getFieldDecorator
(
`references[
${
platform
}
]`
,
{
initialValue
:
references
[
platform
]
initialValue
:
references
[
platform
]
})(
})(
<
Select
tags
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
references
"
>
<
Select
mode
=
"
tags
"
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
references
"
>
<
/Select
>
<
/Select
>
)}
)}
<
/FormItem
>
<
/FormItem
>
...
@@ -797,7 +797,7 @@ class AppDetail extends React.Component {
...
@@ -797,7 +797,7 @@ class AppDetail extends React.Component {
{
getFieldDecorator
(
`upload["packages"][
${
i
}
]["platforms"]`
,
{
{
getFieldDecorator
(
`upload["packages"][
${
i
}
]["platforms"]`
,
{
initialValue
:
pack
[
"
platforms
"
]
initialValue
:
pack
[
"
platforms
"
]
})(
})(
<
Select
m
ultiple
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
platforms
"
>
<
Select
m
ode
=
"
multiple
"
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
platforms
"
>
{
defPlatform
.
map
((
_platform
,
i
)
=>
{
{
defPlatform
.
map
((
_platform
,
i
)
=>
{
return
<
Select
.
Option
key
=
{
i
}
value
=
{
_platform
}
>
{
_platform
}
<
/Select.Option
>
return
<
Select
.
Option
key
=
{
i
}
value
=
{
_platform
}
>
{
_platform
}
<
/Select.Option
>
})}
})}
...
@@ -809,7 +809,7 @@ class AppDetail extends React.Component {
...
@@ -809,7 +809,7 @@ class AppDetail extends React.Component {
{
getFieldDecorator
(
`upload["packages"][
${
i
}
]["locales"]`
,
{
{
getFieldDecorator
(
`upload["packages"][
${
i
}
]["locales"]`
,
{
initialValue
:
pack
[
"
locales
"
]
initialValue
:
pack
[
"
locales
"
]
})(
})(
<
Select
m
ultiple
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
locales
"
>
<
Select
m
ode
=
"
multiple
"
style
=
{{
width
:
'
100%
'
}}
placeholder
=
"
locales
"
>
{
defLocales
.
map
((
_locales
,
i
)
=>
{
{
defLocales
.
map
((
_locales
,
i
)
=>
{
return
<
Select
.
Option
key
=
{
i
}
value
=
{
_locales
}
>
{
_locales
}
<
/Select.Option
>
return
<
Select
.
Option
key
=
{
i
}
value
=
{
_locales
}
>
{
_locales
}
<
/Select.Option
>
})}
})}
...
...
src/routes/Apps.js
View file @
cbf3c091
...
@@ -13,13 +13,11 @@ const columns = [
...
@@ -13,13 +13,11 @@ const columns = [
sorter
:
(
a
,
b
)
=>
a
.
id
-
b
.
id
,
sorter
:
(
a
,
b
)
=>
a
.
id
-
b
.
id
,
render
:
id
=>
<
Link
to
=
{
`apps/
${
id
}
`
}
>
{
id
}
<
/Link>
,
render
:
id
=>
<
Link
to
=
{
`apps/
${
id
}
`
}
>
{
id
}
<
/Link>
,
width
:
'
10%
'
,
width
:
'
10%
'
,
key
:
'
id
'
},
{
},
{
title
:
'
Name
'
,
title
:
'
Name
'
,
dataIndex
:
'
name
'
,
dataIndex
:
'
name
'
,
render
:
name
=>
name
&&
name
[
"
zh-CN
"
],
render
:
name
=>
name
&&
name
[
"
zh-CN
"
],
width
:
'
10%
'
,
width
:
'
10%
'
,
key
:
'
name
'
},{
},{
title
:
"
author
"
,
title
:
"
author
"
,
dataIndex
:
'
author
'
,
dataIndex
:
'
author
'
,
...
@@ -38,13 +36,11 @@ const columns = [
...
@@ -38,13 +36,11 @@ const columns = [
dataIndex
:
'
released_at
'
,
dataIndex
:
'
released_at
'
,
sorter
:
true
,
sorter
:
true
,
width
:
'
10%
'
,
width
:
'
10%
'
,
key
:
'
released_at
'
},
{
},
{
title
:
"
Updated_at
"
,
title
:
"
Updated_at
"
,
dataIndex
:
'
updated_at
'
,
dataIndex
:
'
updated_at
'
,
sorter
:
true
,
sorter
:
true
,
width
:
'
10%
'
,
width
:
'
10%
'
,
key
:
'
updated_at
'
},
},
]
]
...
@@ -67,11 +63,11 @@ function Apps({children, dispatch, isCreate, isSubmit, apps}) {
...
@@ -67,11 +63,11 @@ function Apps({children, dispatch, isCreate, isSubmit, apps}) {
}
}
const
TableProps
=
{
const
TableProps
=
{
rowKey
:
row
=>
row
.
id
,
columns
,
columns
,
dataSource
:
Object
.
values
(
apps
)
dataSource
:
Object
.
values
(
apps
)
}
}
return
(
return
(
<
div
className
=
{
styles
.
normal
}
>
<
div
className
=
{
styles
.
normal
}
>
...
...
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