@dcloudio/uni-cli-shared 2.0.2-alpha-3061020221121003 → 2.0.2-alpha-3061120221125001

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.
@@ -67,21 +67,13 @@
67
67
  this._uniAdPlugin.show()
68
68
  },
69
69
  getAdData() {
70
- if (!this.adpid) {
71
- this.$emit(events.error, {
72
- code: -5002,
73
- message: 'invalid adpid'
74
- })
75
- return
76
- }
77
-
78
70
  this.loading = true
79
71
 
80
72
  uni.request({
81
73
  url: AD_URL,
82
74
  method: 'POST',
83
75
  data: {
84
- adpid: this.adpid
76
+ adpid: this.adpid || ''
85
77
  },
86
78
  timeout: 5000,
87
79
  dataType: 'json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "2.0.2-alpha-3061020221121003",
3
+ "version": "2.0.2-alpha-3061120221125001",
4
4
  "description": "uni-cli-shared",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -25,5 +25,5 @@
25
25
  "postcss-urlrewrite": "^0.2.2",
26
26
  "strip-json-comments": "^2.0.1"
27
27
  },
28
- "gitHead": "994a314b26bec9a80a3109cd2893962195156790"
28
+ "gitHead": "100aea4b935d39d095f693dad0261549b79713d9"
29
29
  }