Browse Source

1.统计地图位置全部显示2.input类型细化

remotes/origin/HEAD
wally 5 years ago
parent
commit
d6bc6db36b
  1. 2
      App.vue
  2. 2
      components/history-map/history-map.vue
  3. 4
      pages/sign/sign.vue

2
App.vue

@ -21,7 +21,7 @@ export default {
try {
if (options.query.scene) {
const query = formatQuery(decodeURIComponent(options.query.scene));
if (query && query.d) {
if (options.path === 'pages/index/index' && query && query.d) {
await this.getTokenByUserId({ params: { userId: query.d } });
this.initCommon();
} else {

2
components/history-map/history-map.vue

@ -8,7 +8,7 @@
id="map"
ref="map"
show-location="true"
include-points="true"
:include-points="markers"
style="width: 100%; height: 1000rpx;"
/>
</template>

4
pages/sign/sign.vue

@ -28,8 +28,8 @@ export default {
success: false,
type: 0, // 0 / 1
timer: null,
longitude: 37.80079,
latitude: 112.58679,
latitude: 37.80079,
longitude: 112.58679,
};
},

Loading…
Cancel
Save