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
f32af685
Commit
f32af685
authored
Dec 05, 2018
by
Davve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复问题
parent
b973f2e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
topic.py
api/topic.py
+1
-0
PickDetail.vue
vu/src/views/pick/components/PickDetail.vue
+0
-5
TopicDetail.vue
vu/src/views/topic/components/TopicDetail.vue
+2
-0
No files found.
api/topic.py
View file @
f32af685
...
...
@@ -100,6 +100,7 @@ class ReplyCreate(APIView):
'replied_id'
:
request
.
POST
.
get
(
"replied_id"
,
None
),
'topic_id'
:
request
.
POST
.
get
(
"topic_id"
,
None
),
'content'
:
request
.
POST
.
get
(
'content'
),
'replied_user_id'
:
request
.
POST
.
get
(
'replied_user_id'
,
None
)
}
try
:
data
=
self
.
rpc
[
'venus/sun/topic/reply/edit'
](
id
=
None
,
data
=
data
)
.
unwrap
()
...
...
vu/src/views/pick/components/PickDetail.vue
View file @
f32af685
...
...
@@ -449,11 +449,6 @@
this
.
$refs
.
postForm
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
loading
=
true
;
if
(
this
.
city
.
length
==
0
){
this
.
$message
.
error
(
'城市必填'
)
this
.
loading
=
false
;
return
false
;
}
this
.
postForm
.
city
=
JSON
.
stringify
(
this
.
city
);
this
.
postForm
.
pick_group
=
JSON
.
stringify
(
this
.
pick_group
);
...
...
vu/src/views/topic/components/TopicDetail.vue
View file @
f32af685
...
...
@@ -695,12 +695,14 @@
user_id
:
''
,
content
:
''
,
be_replied_id
:
''
,
replied_user_id
:
''
}
},
reply
(
row
)
{
this
.
resetTemp
()
if
(
row
){
// this.temp.be_replied_id = row.be_reply_user.id
this
.
temp
.
replied_user_id
=
row
.
reply_user
.
id
this
.
temp
.
replied_id
=
row
.
id
}
this
.
dialogStatus
=
'create'
...
...
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