Commit 73d5915b by 李嘉林

feat: 显隐规则支持指定环境

parent 0491deda
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
checkCondition({ allCondition }) { checkCondition({ allCondition }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// 获取 // 获取
let params = { showConditionIds:allCondition, region: "" }; let params = { showConditionIds:allCondition, region: "", equipmentType: '0' };
shop shop
.checkShowCondition(params) .checkShowCondition(params)
.then((res) => { .then((res) => {
......
...@@ -774,7 +774,7 @@ export default { ...@@ -774,7 +774,7 @@ export default {
checkCondition({ allCondition }) { checkCondition({ allCondition }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// 获取 // 获取
let params = { showConditionIds:allCondition, region: "" }; let params = { showConditionIds:allCondition, region: "", equipmentType: '0' };
shop shop
.checkShowCondition(params) .checkShowCondition(params)
.then((res) => { .then((res) => {
......
...@@ -323,7 +323,7 @@ export default { ...@@ -323,7 +323,7 @@ export default {
checkCondition({ allCondition }) { checkCondition({ allCondition }) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// 获取 // 获取
let params = { showConditionIds:allCondition, region: "" }; let params = { showConditionIds:allCondition, region: "", equipmentType: '0' };
shop shop
.checkShowCondition(params) .checkShowCondition(params)
.then((res) => { .then((res) => {
......
...@@ -453,7 +453,7 @@ export default { ...@@ -453,7 +453,7 @@ export default {
console.log('---checkCondition') console.log('---checkCondition')
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
// 获取 // 获取
let params = { showConditionIds: allCondition, region: "" }; let params = { showConditionIds: allCondition, region: "", equipmentType: '0' };
shop shop
.checkShowCondition(params) .checkShowCondition(params)
.then((res) => { .then((res) => {
......
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