Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 0c6e3828
authored
Nov 09, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复欢迎语组件传参
1 parent
60f95e46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/wechatGroup/addWechatGroup.vue
src/views/wechatGroup/addWechatGroup.vue
View file @
0c6e382
...
...
@@ -211,7 +211,7 @@ export default {
groupListApi
:
this
.
$apis
.
welcomeword
.
getGroupListApi
,
materialListApi
:
this
.
$apis
.
welcomeword
.
getMaterialListApi
,
params
:
{
merchant
Id
:
this
.
$globalState
.
session
.
merchantId
merchant
:
this
.
$globalState
.
session
.
merchantId
}
},
{
...
...
@@ -224,7 +224,7 @@ export default {
templateSaveApi
:
this
.
$apis
.
welcomeword
.
templateSave
,
templateDetailApi
:
this
.
$apis
.
welcomeword
.
templateDetail
,
params
:
{
merchant
Id
:
this
.
$globalState
.
session
.
merchantId
merchant
:
this
.
$globalState
.
session
.
merchantId
}
}
],
...
...
@@ -361,8 +361,8 @@ export default {
selectChange
(
val
)
{
// 选择门店时,替换欢迎语组件当中的所有merchantId
this
.
btnList
.
forEach
(
item
=>
{
if
(
item
.
params
&&
item
.
params
.
hasOwnProperty
(
'merchant
Id
'
)){
item
.
params
.
merchant
Id
=
val
if
(
item
.
params
&&
item
.
params
.
hasOwnProperty
(
'merchant'
)){
item
.
params
.
merchant
=
val
}
if
(
item
.
funParams
&&
Object
.
prototype
.
toString
.
call
(
item
.
funParams
)
===
'[object Array]'
){
item
.
funParams
.
forEach
(
funArr
=>
{
...
...
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