@conecli/cone-render 0.8.15-alpha.4 → 0.8.15-alpha.5

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'
1
+ import global from '../common'
2
2
  console.log('window.shopGlobalSwitch:', JSON.stringify(window.shopGlobalSwitch))
3
3
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的if')
4
4
  console.log('Promise 立即执行了')
5
5
  setTimeout(resolve, 3000)
6
6
  wx?.miniProgram?.getEnv((res) => {
7
7
  console.log(' 小程序环境检查结果', res)
8
8
  if (res && res?.miniprogram) {
9
9
  this.jingGouMiniState = true
10
10
  window.isJingGouMiniViewState = true
11
11
  console.log('进入了 iwx?.miniProgram then ')
12
12
  global.info.isJingGouMiniViewState = true
13
13
  if (location.pathname == '/shop/home') {
14
14
  const getQueryData = parseQueryUrlString(
15
15
  location.search,
16
16
  )
17
17
  this.jdJumpToShopHome({
18
18
  ...getQueryData,
19
19
  type: 'redirectTo',
20
20
  })
21
21
  }
22
22
  }
23
23
  resolve(true)
24
24
  })
25
25
  })
26
26
  console.log('进入了 isH5AndJingGouMini && this.isH5OpenToWxapp 的esle')
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.8.15-alpha.4",
3
+ "version": "0.8.15-alpha.5",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"