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
5ec84605
Commit
5ec84605
authored
Jan 26, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情面包屑bug
parent
def5e0fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
news-add-or-update.vue
src/views/modules/application/news-add-or-update.vue
+9
-9
news.vue
src/views/modules/application/news.vue
+6
-6
newtopic.vue
src/views/modules/info/newtopic.vue
+1
-1
No files found.
src/views/modules/application/news-add-or-update.vue
View file @
5ec84605
...
...
@@ -106,16 +106,16 @@
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
/>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
/>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
/></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
/></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
...
...
@@ -204,13 +204,13 @@ export default {
},
piclevelList
,
id
:
[],
title
:
""
,
className
:
""
,
cclassName
:
""
,
}
;
title
:
''
,
className
:
''
,
cclassName
:
''
}
},
mounted
()
{
console
.
log
(
this
.
classidList
)
;
mounted
()
{
console
.
log
(
this
.
classidList
)
},
methods
:
{
getSelectName
(
list
,
id
)
{
...
...
src/views/modules/application/news.vue
View file @
5ec84605
...
...
@@ -297,16 +297,16 @@ export default {
},
// 预览
previewHandle
(
info
)
{
console
.
log
(
info
,
'预览'
)
;
let
url
;
console
.
log
(
info
,
'预览'
)
let
url
if
(
!
info
.
directpath
||
info
.
directpath
===
null
)
{
url
=
`
${
this
.
$store
.
state
.
config
.
urls
}
/News/msg?id=
${
info
.
id
}
`
;
url
=
`
${
this
.
$store
.
state
.
config
.
urls
}
/News/msg?id=
${
info
.
id
}
`
}
else
if
(
/^
\/
/
.
test
(
info
.
directpath
))
{
url
=
`
${
this
.
$store
.
state
.
config
.
urls
}${
info
.
directpath
}
`
;
url
=
`
${
this
.
$store
.
state
.
config
.
urls
}${
info
.
directpath
}
`
}
else
{
url
=
info
.
directpath
;
url
=
info
.
directpath
}
window
.
open
(
url
,
'_blank'
)
;
window
.
open
(
url
,
'_blank'
)
},
// 新增 / 修改
addOrUpdateHandle
(
id
,
showInfo
)
{
...
...
src/views/modules/info/newtopic.vue
View file @
5ec84605
...
...
@@ -298,7 +298,7 @@ export default {
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'id'
:
id
,
'
status
'
:
status
'
checkflag
'
:
status
})
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
...
...
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