Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8d116599
authored
Sep 11, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
e1502d15
823530bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/mall/promotion/rewardActivity/RewardForm.vue
+2
-2
No files found.
src/views/mall/promotion/rewardActivity/RewardForm.vue
View file @
8d116599
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
label=
"分类"
label=
"分类"
prop=
"productCategoryIds"
prop=
"productCategoryIds"
>
>
<ProductCategorySelect
v-model=
"formData.productCategoryIds"
/>
<ProductCategorySelect
v-model=
"formData.productCategoryIds"
:multiple=
"true"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"formData.remark"
placeholder=
"请输入备注"
/>
<el-input
v-model=
"formData.remark"
placeholder=
"请输入备注"
/>
...
@@ -188,7 +188,7 @@ const getProductScope = async () => {
...
@@ -188,7 +188,7 @@ const getProductScope = async () => {
case
PromotionProductScopeEnum
.
CATEGORY
.
scope
:
case
PromotionProductScopeEnum
.
CATEGORY
.
scope
:
await
nextTick
()
await
nextTick
()
let
productCategoryIds
=
formData
.
value
.
productScopeValues
as
any
let
productCategoryIds
=
formData
.
value
.
productScopeValues
as
any
if
(
Array
.
isArray
(
productCategoryIds
)
&&
productCategoryIds
.
length
>
0
)
{
if
(
Array
.
isArray
(
productCategoryIds
)
&&
productCategoryIds
.
length
===
1
)
{
// 单选时使用数组不能反显
// 单选时使用数组不能反显
productCategoryIds
=
productCategoryIds
[
0
]
productCategoryIds
=
productCategoryIds
[
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