@conecli/cone-render 0.8.15-alpha.14 → 0.8.15-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
import global from '../common'
|
|
2
1
|
console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
|
|
3
2
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
|
|
4
3
|
this.jingGouMiniState = true
|
|
5
4
|
window.isJingGouMiniViewState = true
|
|
6
5
|
console.log('进入了 iwx?.miniProgram then ')
|
|
7
6
|
global.info.isJingGouMiniViewState = true
|
|
8
7
|
if (location.pathname == '/shop/home') {
|
|
9
8
|
const getQueryData = parseQueryUrlString(
|
|
10
9
|
location.search,
|
|
11
10
|
)
|
|
12
11
|
this.jdJumpToShopHome({
|
|
13
12
|
...getQueryData,
|
|
14
13
|
type: 'redirectTo',
|
|
15
14
|
})
|
|
16
15
|
}
|
|
17
16
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
|
|
18
17
|
}
|
|
18
|
+
import global from '../common'
|
|
19
19
|
console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
|
|
20
20
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
|
|
21
21
|
this.jingGouMiniState = true
|
|
22
22
|
window.isJingGouMiniViewState = true
|
|
23
23
|
console.log('进入了 iwx?.miniProgram then ')
|
|
24
24
|
global.info.isJingGouMiniViewState = true
|
|
25
25
|
if (location.pathname == '/shop/home') {
|
|
26
26
|
const getQueryData = parseQueryUrlString(
|
|
27
27
|
location.search,
|
|
28
28
|
)
|
|
29
29
|
this.jdJumpToShopHome({
|
|
30
30
|
...getQueryData,
|
|
31
31
|
type: 'redirectTo',
|
|
32
32
|
})
|
|
33
33
|
}
|
|
34
34
|
console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
|
|
35
35
|
}
|