jufubao-base 1.0.254-beta2 → 1.0.255

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": "jufubao-base",
3
- "version": "1.0.254-beta2",
3
+ "version": "1.0.255",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -20,7 +20,6 @@
20
20
  <iframe frameborder="0" v-if="iframe" :src="iframe" class="jfb-base-map-overlay__body-iframe"></iframe>
21
21
  <xd-baidu-overlay v-else :defaultOverlays="overlays" :level="11"></xd-baidu-overlay>
22
22
  </template>
23
-
24
23
  <!-- #endif -->
25
24
  <!-- #ifdef MP -->
26
25
  <xd-map-overlay :defaultOverlays="overlays" :level="11"></xd-map-overlay>
@@ -114,25 +113,27 @@
114
113
  if(res['is_ifream'] === 'Y') {
115
114
  // #ifdef MP
116
115
  if(!res.url){
117
- return this.$xdAlert({
116
+ this.$xdAlert({
118
117
  content: 'URL不存在',
119
118
  time: 2500,
120
119
  isClose: false,
121
120
  zIndex: 5000
122
121
  });
122
+ return;
123
123
  }
124
124
  this.$xdUniHelper.redirectTo({
125
- url: url,
125
+ url: res.url,
126
126
  })
127
127
  // #endif
128
128
  // #ifdef H5
129
129
  this.iframe = res.url
130
130
  // #endif
131
131
  }
132
+ //本页面打开
132
133
  else{
133
134
  this.overlays = res.data;
135
+ this.loaded = true;
134
136
  }
135
- this.loaded = true;
136
137
  })
137
138
  },
138
139
  gcj02tobd09(lng, lat) {
@@ -187,19 +187,6 @@ export default {
187
187
  });
188
188
  }
189
189
 
190
- //获取展示方式
191
- if (action === 'adShowGroupType') {
192
- XdBus.getParentApi('getOptionsSettingList')({setting_id: "cms_setting"})
193
- .then(res => {
194
- loading.close();
195
- data.cb(res['ad_show_group'])
196
- })
197
- .catch(error => {
198
- loading.close();
199
- console.error(error);
200
- });
201
- }
202
-
203
190
  //发布
204
191
  if (action === 'publish') {
205
192
  console.log('publish', data.params)