Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
quantum-blocks
Commits
cc21d800
Commit
cc21d800
authored
Oct 15, 2025
by
刘世达
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-fix-miniapp-0901' into 'master'
feat: 区分终端 See merge request
!109
parents
20c7bde2
f4bbf01a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
index.vue
...component/DynamicForm/component/SeckillSelector/index.vue
+7
-1
index.vue
...nt/DynamicForm/component/SnapUpActivitySelector/index.vue
+7
-1
No files found.
app/web/page/editor/component/DynamicForm/component/SeckillSelector/index.vue
View file @
cc21d800
...
...
@@ -83,10 +83,10 @@ export default {
return
;
}
// 判断填入的活动ID是否存在重复的渠道ID的情况
const
normalKey
=
'
common
'
;
const
validArr
=
res
.
filter
(
item
=>
item
.
activityTemplateType
&&
item
.
activityTemplateType
==
1
);
const
channel2Id
=
{};
validArr
.
map
(
item
=>
{
let
normalKey
=
'
common
'
;
if
(
item
.
kaChannelNo
)
{
if
(
channel2Id
[
item
.
kaChannelNo
])
{
const
arr
=
channel2Id
[
item
.
kaChannelNo
];
...
...
@@ -96,6 +96,12 @@ export default {
channel2Id
[
item
.
kaChannelNo
]
=
[
item
.
id
]
}
}
else
{
if
(
item
.
terminal
===
'
2
'
)
{
normalKey
=
'
mini-app
'
;
}
if
(
item
.
terminal
===
'
1
'
)
{
normalKey
=
'
app
'
;
}
if
(
channel2Id
[
normalKey
])
{
const
arr
=
channel2Id
[
normalKey
];
arr
.
push
(
item
.
id
);
...
...
app/web/page/editor/component/DynamicForm/component/SnapUpActivitySelector/index.vue
View file @
cc21d800
...
...
@@ -84,10 +84,10 @@ export default {
return
;
}
// 判断填入的活动ID是否存在重复的渠道ID的情况
const
normalKey
=
'
common
'
;
const
validArr
=
res
.
filter
(
item
=>
item
.
activityTemplateType
&&
item
.
activityTemplateType
==
11
);
const
channel2Id
=
{
}
;
validArr
.
map
(
item
=>
{
let
normalKey
=
'
common
'
;
if
(
item
.
kaChannelNo
)
{
if
(
channel2Id
[
item
.
kaChannelNo
])
{
const
arr
=
channel2Id
[
item
.
kaChannelNo
];
...
...
@@ -97,6 +97,12 @@ export default {
channel2Id
[
item
.
kaChannelNo
]
=
[
item
.
id
]
}
}
else
{
if
(
item
.
terminal
===
'
2
'
)
{
normalKey
=
'
mini-app
'
;
}
if
(
item
.
terminal
===
'
1
'
)
{
normalKey
=
'
app
'
;
}
if
(
channel2Id
[
normalKey
])
{
const
arr
=
channel2Id
[
normalKey
];
arr
.
push
(
item
.
id
);
...
...
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