👍 bug处理
This commit is contained in:
+1
-3
@@ -37,10 +37,8 @@
|
||||
},
|
||||
methods: {
|
||||
test(res) {
|
||||
console.log("res",res)
|
||||
let that = this;
|
||||
if (res.type == "end") {
|
||||
console.log(this._mapContext)
|
||||
this._mapContext.getCenterLocation({
|
||||
success(res){
|
||||
that.refresh(res)
|
||||
@@ -51,7 +49,7 @@
|
||||
refresh(location){
|
||||
let that = this;
|
||||
getFishIndex(location).then(res => {
|
||||
console.log(res.data)
|
||||
// console.log(res.data)
|
||||
if (res.data) {
|
||||
res.data.forEach(e => {
|
||||
// 需要判断不存在对应标点才继续新增,另外太近标点需要做marker聚合
|
||||
|
||||
Reference in New Issue
Block a user