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
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
谢林臻
sun
Commits
3301c61b
Commit
3301c61b
authored
6 years ago
by
Davve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改推送错误
parent
6b0827dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
PushDetail.vue
vu/src/views/push/components/PushDetail.vue
+3
-2
No files found.
vu/src/views/push/components/PushDetail.vue
View file @
3301c61b
...
...
@@ -110,8 +110,8 @@ const defaultForm = {
const
URLOptions
=
[
{
'key'
:
'alpha://topic_det
ia
l?topic_id='
,
'display_name'
:
'推送帖子'
},
{
'key'
:
'alpha://group_det
ia
l?group_id='
,
'display_name'
:
'推送小组'
},
{
'key'
:
'alpha://topic_det
ai
l?topic_id='
,
'display_name'
:
'推送帖子'
},
{
'key'
:
'alpha://group_det
ai
l?group_id='
,
'display_name'
:
'推送小组'
},
]
const
urlTypeKeyValue
=
URLOptions
.
reduce
((
acc
,
cur
)
=>
{
...
...
@@ -185,6 +185,7 @@ export default {
fetchData
(
id
)
{
fetchPushDetail
(
id
).
then
(
response
=>
{
this
.
postForm
=
response
.
data
.
data
.
data
console
.
log
(
response
.
data
.
data
.
data
.
url_prefix
,
'-----'
,
urlTypeKeyValue
[
response
.
data
.
data
.
data
.
url_prefix
])
this
.
postForm
.
url
=
urlTypeKeyValue
[
response
.
data
.
data
.
data
.
url_prefix
]
this
.
is_effect
=
Boolean
(
response
.
data
.
data
.
data
.
is_effect
)
}).
catch
(
err
=>
{
...
...
This diff is collapsed.
Click to expand it.
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