Commit 7ce3c290 authored by 纪泽龙's avatar 纪泽龙

优化一下

parent 3523e1a1
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-11 13:44:17 * @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-03-08 15:19:41 * @LastEditTime: 2022-03-08 16:21:04
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue * @FilePath: /test/hello-world/src/views/Home.vue
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="goSystem" @click="$router.push('/index')">进入管理系统</div> <div class="goSystem" @click="$router.push('/index')">进入管理系统</div>
<div id="map"></div> <div id="map"></div>
<Center :show="show" :centerData="centerData" /> <!-- <Center :show="show" :centerData="centerData" /> -->
<UserCenter <UserCenter
:title="centerTitle" :title="centerTitle"
:show="userCenterShow" :show="userCenterShow"
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
map: null, map: null,
show: false, show: false,
centerData: null, // centerData: null,
selarr: [1, 2, 3], selarr: [1, 2, 3],
weather: "", weather: "",
lower: "", lower: "",
...@@ -413,11 +413,11 @@ export default { ...@@ -413,11 +413,11 @@ export default {
myCenterShow(boolean) { myCenterShow(boolean) {
this.show = boolean; this.show = boolean;
}, },
centerDataFunc(centerData) { // centerDataFunc(centerData) {
this.centerData = centerData; // this.centerData = centerData;
console.log(centerData); // console.log(centerData);
this.show = true; // this.show = true;
}, // },
allCompany() { allCompany() {
if (this.selarr.length == this.companyLength) { if (this.selarr.length == this.companyLength) {
......
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