Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-content
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 98018f06
authored
Jun 06, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
bff878b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/views/discoverManager/components/AddImage/index.vue
src/views/discoverManager/components/AddImage/index.vue
View file @
98018f0
<
template
>
<
template
>
<GLDialog
mode=
"mid"
:close-on-click-modal=
"false"
:title=
"
formObj.id ? '编辑内容' : '新增内容'
"
:visible
.
sync=
"visible"
@
onOk=
"onOk"
:before-close=
"onCancel"
@
onCancel=
"onCancel"
>
<GLDialog
mode=
"mid"
:close-on-click-modal=
"false"
:title=
"
title
"
:visible
.
sync=
"visible"
@
onOk=
"onOk"
:before-close=
"onCancel"
@
onCancel=
"onCancel"
>
<glsx-combi-form
class=
"glsx-combi-form"
ref=
"videoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"rules"
>
<glsx-combi-form
class=
"glsx-combi-form"
ref=
"videoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"rules"
>
<div
slot=
"moduleSlot"
class=
"radio-slot"
>
<div
slot=
"moduleSlot"
class=
"radio-slot"
>
<el-radio-group
@
change=
"menuRadioChange"
v-model=
"formObj.menuId"
>
<el-radio-group
@
change=
"menuRadioChange"
v-model=
"formObj.menuId"
>
...
@@ -145,6 +145,9 @@ export default {
...
@@ -145,6 +145,9 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
title
(){
return
`
${
this
.
formObj
.
id
?
'编辑'
:
'新增'
}${
this
.
formObj
.
type
==
5
?
'banner'
:
'内容'
}
`
},
subMenuList
(){
subMenuList
(){
const
target
=
this
.
menuList
.
find
(
item
=>
item
.
id
==
this
.
formObj
.
menuId
)
const
target
=
this
.
menuList
.
find
(
item
=>
item
.
id
==
this
.
formObj
.
menuId
)
return
target
?.
childList
||
[]
return
target
?.
childList
||
[]
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment