Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 47566ef2
authored
Aug 02, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复首次进入门店车主搜索为空的问题
1 parent
c6f3f3d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/store/modules/channel.js
src/views/store/edit.vue
src/store/modules/channel.js
View file @
47566ef
...
@@ -44,7 +44,6 @@ export default {
...
@@ -44,7 +44,6 @@ export default {
})
})
})
})
})
})
console
.
log
(
list
)
state
.
searchList
=
list
state
.
searchList
=
list
},
},
},
},
...
...
src/views/store/edit.vue
View file @
47566ef
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleEdit"
>
频道设置
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleEdit"
>
频道设置
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
编辑频道
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
编辑频道
</el-button>
<el-button
v-if=
"activeName!=5"
type=
"primary"
plain
size=
"small"
@
click=
"handleAddContent()"
>
新增内容
</el-button>
<el-button
v-if=
"activeName!=5
&& activeName!=6
"
type=
"primary"
plain
size=
"small"
@
click=
"handleAddContent()"
>
新增内容
</el-button>
</div>
</div>
</div>
</div>
<GLTable
ref=
"editRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"editRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
...
@@ -80,7 +80,8 @@ export default {
...
@@ -80,7 +80,8 @@ export default {
merchantName
:
''
,
merchantName
:
''
,
createDate
:
[]
createDate
:
[]
},
},
searchForm
:
{},
searchForm
:
{
},
ClassifyInfo
:
{},
ClassifyInfo
:
{},
url
:
url
,
url
:
url
,
mode
:
'mid'
,
mode
:
'mid'
,
...
@@ -411,6 +412,8 @@ export default {
...
@@ -411,6 +412,8 @@ export default {
if
(
res
?.
list
?.
length
){
if
(
res
?.
list
?.
length
){
const
_target
=
this
.
formData
.
find
(
item
=>
item
.
name
==
'associationClassifyFirstId'
)
const
_target
=
this
.
formData
.
find
(
item
=>
item
.
name
==
'associationClassifyFirstId'
)
_target
&&
(
_target
.
optionList
=
res
.
list
)
_target
&&
(
_target
.
optionList
=
res
.
list
)
const
_copyTarget
=
this
.
searchFormData
.
find
(
item
=>
item
.
name
==
'associationClassifyFirstId'
)
_copyTarget
&&
(
_copyTarget
.
optionList
=
res
.
list
)
}
}
})
})
},
},
...
...
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