Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
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
吴迪
gs1-admin
Commits
4cff3665
Commit
4cff3665
authored
Aug 04, 2023
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
993c6bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
news.vue
src/views/modules/info/news.vue
+4
-4
No files found.
src/views/modules/info/news.vue
View file @
4cff3665
...
...
@@ -466,11 +466,11 @@ export default {
method
:
'post'
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
!
item
.
directpath
||
item
.
directpath
===
null
)
{
//
if (!item.directpath || item.directpath === null) {
window
.
open
(
this
.
$store
.
state
.
config
.
urls
+
'/News/msg?id='
+
item
.
id
+
'&token='
+
data
.
data
,
'_blank'
)
}
else
{
window
.
open
(
item
.
directpath
+
'&token='
+
data
.
data
,
'_blank'
)
}
//
} else {
//
window.open(item.directpath + '&token=' + data.data, '_blank')
//
}
}
else
{
this
.
$message
.
error
(
'获取失败'
)
}
...
...
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