diff --git a/FlowerGully/package.json b/FlowerGully/package.json
index ab62f4dd62d9711bf3ca77e472a6f4380a50edde..061a1389f6e3bd2e3688f3938ab4f8761f9a0895 100644
--- a/FlowerGully/package.json
+++ b/FlowerGully/package.json
@@ -23,6 +23,7 @@
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"vue": "2.6.10",
+ "vue-baidu-map": "^0.21.22",
"vue-router": "3.0.6",
"vuex": "3.1.0"
},
diff --git a/FlowerGully/src/App.vue b/FlowerGully/src/App.vue
index ec9032c1c638e918ec97e413aa081993a95048f4..f668ec649b97d1e945d634fca9d7287c2fe5544d 100644
--- a/FlowerGully/src/App.vue
+++ b/FlowerGully/src/App.vue
@@ -9,3 +9,6 @@ export default {
name: 'App'
}
+
+
\ No newline at end of file
diff --git a/FlowerGully/src/main.js b/FlowerGully/src/main.js
index 6111b9b1f7599cd87d09a6e977a0b33ff759b492..de3ce42abed3d3ba867d37630484eee7382aaf27 100644
--- a/FlowerGully/src/main.js
+++ b/FlowerGully/src/main.js
@@ -9,6 +9,7 @@ import '@/styles/index.scss' // global css
import App from './App'
import store from './store'
import router from './router'
+import BaiduMap from 'vue-baidu-map'
import '@/icons' // icon
import '@/permission' // permission control
@@ -27,6 +28,10 @@ axios.defaults.baseURL = 'http://localhost:3000/api/';
Vue.use(ElementUI)
Vue.config.productionTip = false
+Vue.use(BaiduMap, {
+ // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
+ ak: 'apKWrd8UhmG4WNy4oX3GpoZlg3Fg7sRr'
+})
new Vue({
el: '#app',
diff --git a/FlowerGully/src/views/BasicInformation/Variety.vue b/FlowerGully/src/views/BasicInformation/Variety.vue
index aa57300943c10f8cb5d9a3ee90d4ec602fe078ad..3cb08934d4f58794b08c23f1ea74916cdf489d63 100644
--- a/FlowerGully/src/views/BasicInformation/Variety.vue
+++ b/FlowerGully/src/views/BasicInformation/Variety.vue
@@ -69,27 +69,18 @@
品种图片
-