Commit a4310621 authored by 刘帅阳's avatar 刘帅阳

修改bug

parent 4bfa3d70
...@@ -535,7 +535,7 @@ export default { ...@@ -535,7 +535,7 @@ export default {
handleShareShop(row) { handleShareShop(row) {
// 根据row.unitId是否存在来决定是否解析并设置店铺列表 // 根据row.unitId是否存在来决定是否解析并设置店铺列表
if (row.unitId) { if (row.unitId) {
this.ruleForm.shops = JSON.parse(row.unitId) this.ruleForm.shops = row.unitId.split(',').map(Number)
} else { } else {
this.ruleForm.shops = [] this.ruleForm.shops = []
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment