guoshilong
2022-09-17 8df3727027d644861ff819f9df9b76a5c1280a89
事件管理详情,编辑经纬度地址回显
1 files modified
6 ■■■■■ changed files
src/views/eventgm/eventgm.vue 6 ●●●●● patch | view | raw | blame | history
src/views/eventgm/eventgm.vue
@@ -162,7 +162,13 @@
      beforeOpen(done, type) {
        if (["edit", "view"].includes(type)) {
          getDetail(this.form.id).then(res => {
            console.log(res);
            this.form = res.data.data;
            this.form.avueMapAddress = {
              "formattedAddress": this.form.address,
              "longitude": this.form.longitude,
              "latitude": this.form.latitude
            }
          });
        }
        done();