Commit ec7432d0 authored by Damon's avatar Damon

fix: 调用上级方法

parent db4526e4
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
* @property {String} type 编辑类型(默认为修改,add--新增、edit--修改、select--选择) * @property {String} type 编辑类型(默认为修改,add--新增、edit--修改、select--选择)
* @property {String} info 地址信息(json字符串:包含地址信息) * @property {String} info 地址信息(json字符串:包含地址信息)
*/ */
import Utils from '@/utils/callUtils.js'
let r = require('libs/bmap-wx.min.js'); let r = require('libs/bmap-wx.min.js');
let h = new r.BMapWX({ let h = new r.BMapWX({
ak: process.uniEnv.bmapAK, ak: process.uniEnv.bmapAK,
...@@ -270,7 +269,7 @@ export default { ...@@ -270,7 +269,7 @@ export default {
address: address, address: address,
region: this.region region: this.region
} }
Utils.$emit("update-site", site) prevPage.$vm.updateSite(site)
this.$u.route({ type: 'back' }); this.$u.route({ type: 'back' });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment