Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
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
1
Merge Requests
1
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
alpha
sun
Commits
50740384
Commit
50740384
authored
Dec 05, 2018
by
Davve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发帖时间
parent
8db98c73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
star.py
api/star.py
+0
-1
StarDetail.vue
vu/src/views/star/components/StarDetail.vue
+1
-1
TopicDetail.vue
vu/src/views/topic/components/TopicDetail.vue
+1
-0
No files found.
api/star.py
View file @
50740384
...
...
@@ -52,7 +52,6 @@ class CelebrityUpdateOrCreate(APIView):
def
post
(
self
,
request
):
id
=
request
.
POST
.
get
(
'id'
,
''
)
print
(
request
.
POST
,
'----'
)
gender
=
request
.
POST
.
get
(
'gender'
)
group_ids
=
list
(
set
(
map
(
lambda
x
:
x
.
split
(
":"
)[
0
],
json
.
loads
(
request
.
POST
.
get
(
'groups'
,
'[]'
)))))
updates
=
{
...
...
vu/src/views/star/components/StarDetail.vue
View file @
50740384
...
...
@@ -66,7 +66,7 @@
<el-form-item
label-width=
"75px"
label=
"性别:"
style=
"margin-left: 10px"
prop=
"gender"
>
<el-select
v-model=
"postForm.gender"
:placeholder=
"'性别:'"
clearable
class=
"postInfo-container-item"
style=
"width: 220px"
>
style=
"width: 220px"
:disabled=
"this.isEdit"
>
<el-option
v-for=
"item in GenderTypeOptions"
:key=
"item.key"
:label=
"item.display_name"
:value=
"item.key"
/>
</el-select>
...
...
vu/src/views/topic/components/TopicDetail.vue
View file @
50740384
...
...
@@ -50,6 +50,7 @@
:picker-options=
"expireTimeOption"
placeholder=
"选择日期时间"
style=
"width: 230px"
:disabled=
"this.isEdit"
/>
</el-form-item>
</el-col>
...
...
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