|
@@ -240,14 +240,6 @@ export default {
|
|
|
created() {
|
|
|
let self = this;
|
|
|
self.store = self.$route.query.storeId;
|
|
|
- //
|
|
|
- console.log(_.locationHref.indexOf('common.yiguanjia.me') == -1);
|
|
|
- if (_.locationHref.indexOf('common.yiguanjia.me') == -1) {
|
|
|
- self.iCode = self.code; // 系统调试时开启
|
|
|
- console.log('测试环境');
|
|
|
- } else {
|
|
|
- console.log('生产环境');
|
|
|
- }
|
|
|
// 获取所有门店
|
|
|
_.$http('/j/HouseKeeping/GetStore', {}, res => {
|
|
|
// self.storeArr = res.data;
|
|
@@ -432,6 +424,7 @@ export default {
|
|
|
},
|
|
|
res => {
|
|
|
self.code = res;
|
|
|
+ // 系统调试时开启
|
|
|
if (_.locationHref.indexOf('common.yiguanjia.me') == -1) {
|
|
|
self.iCode = self.code; // 系统调试时开启
|
|
|
}
|