ソースを参照

招聘信息界面增加定位地址字段

yanliming 3 日 前
コミット
c89781557d
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/views/base/recruitInformationInfo-detail.vue

+ 2 - 0
src/views/base/recruitInformationInfo-detail.vue

@@ -271,6 +271,7 @@
               if (!this.ranging) {
                 var pt = e.lnglat; //点击选择新地址为中心点
                 console.log(pt);
+                alert(JSON.stringify(e.lnglat));
 
                 this.pointPosition = [pt.lng, pt.lat];
                 this.selectedRow.location = pt.lng + "," + pt.lat;
@@ -396,6 +397,7 @@
         }
       },
       handleSelectPoint() {
+        alert(JSON.stringify(this.pointPosition));
         this.formModel.location =
           this.pointPosition[0] + "," + this.pointPosition[1];
         this.showMapDialog = false;