system-phone 3.0.17 → 3.0.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -185,6 +185,9 @@
185
185
 
186
186
  },
187
187
  getRepair(){
188
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
189
+ return
190
+ }
188
191
  var _this = this;
189
192
  let bbb = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
190
193
  if (bbb.code === 200) {
@@ -204,6 +207,9 @@
204
207
  }, 100000)
205
208
  },
206
209
  getSafeCheck(){
210
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
211
+ return
212
+ }
207
213
  var _this = this;
208
214
  let aaa = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
209
215
  if (aaa.code === 200) {
@@ -223,6 +229,9 @@
223
229
  }, 100000)
224
230
  },
225
231
  getZhihuan(){
232
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
233
+ return
234
+ }
226
235
  var _this = this;
227
236
  this.timeoutZhihuan = window.setInterval(function() {
228
237
  let result = _this.$androidUtil.path({'alias':`getSubstitMobile`,'data':{condition:'1 = 1'}})