|
@@ -110,8 +110,14 @@ export default {
|
|
|
this.getCode();
|
|
|
this.getCookie();
|
|
|
const host = document.domain;
|
|
|
- this.test = host.includes('wms') || host.includes('dh');
|
|
|
- Cookies.set('test', this.test? 0: 1);
|
|
|
+ // this.test = host.includes('dh');
|
|
|
+ if (host.includes('dh')){
|
|
|
+ Cookies.set('test', 0);
|
|
|
+ }else if (host.includes('hwc')){
|
|
|
+ Cookies.set('test', 2);
|
|
|
+ }else {
|
|
|
+ Cookies.set('test', 1);
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
getCode() {
|