@@ -46,8 +46,11 @@ Vue.use(dataV)
import VueAMap from 'vue-amap' // 高德
Vue.use(VueAMap)
+window._AMapSecurityConfig = {
+ securityJsCode:'5e00a24cb2f5804eb8ec8e081a88ac7a',
+}
VueAMap.initAMapApiLoader({
- key: '8343df94cab859af3bd36362029a4e19',
+ key: 'c110837412073f4b1eeb88f562ca4f85',
plugin: ['AMap.MouseTool'],
plugin: ['AMap.AutoComplete','AMap.MarkerClusterer','AMap.DistrictSearch', 'AMap.MouseTool', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PlaceSearch', 'AMap.Geolocation', 'AMap.Geocoder', 'AMap.TileLayer'],
v: '1.4.15',
@@ -49,7 +49,7 @@ export default {
this.setDefaultValue(params, 'searchData')
},
estateChange (val, options, curItem) {
- this.$router.push(`/house/sale?id=${val}&name=${curItem.estate_name}`)
+ this.$router.push(`/house/admin?id=${val}&name=${curItem.estate_name}`)
// this.$router.go(0)
this.searchHandle()