06 2022 档案

摘要:1、安装vue-baidu-map组件 npm install vue-baidu-map --save 2、在mian.js 中注册 vue-baidu-map import BaiduMap from 'vue-baidu-map' Vue.use(BaiduMap, { ak: '你的申请的a 阅读全文
posted @ 2022-06-17 15:44 烧机 阅读(570) 评论(0) 推荐(0) 编辑
摘要:1. 打开package.json 2. 删除文件里的如下内容,总之就是带eslint的删干净 "@vue/cli-plugin-eslint": "^4.0.0", "babel-eslint": "^10.0.1", "eslint": "^5.16.0", "eslint-plugin-vue 阅读全文
posted @ 2022-06-17 15:10 烧机 阅读(2255) 评论(0) 推荐(0) 编辑
摘要:vue3配置跳转到新的路由界面的位置 import { createRouter, createWebHashHistory } from 'vue-router' // vue2.0 new VueRouter({}) 创建路由实例 // vue3.0 creatRouter({}) 创建路由实例 阅读全文
posted @ 2022-06-10 22:52 烧机 阅读(523) 评论(0) 推荐(0) 编辑
摘要:通过固定容器的宽高加上flex布局结合css3的属性object-fit实现 .el-image{ width: 100%; height: 26rem; display: flex !important; justify-content: center; align-items: center; 阅读全文
posted @ 2022-06-10 16:43 烧机 阅读(766) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示