08 2021 档案

摘要:import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' import locale from 'element-ui/lib/locale/lang/zh-CN' // en是英文 zh-CN是 阅读全文
posted @ 2021-08-26 16:40 LilLazy 阅读(1574) 评论(0) 推荐(0) 编辑
摘要:在项目中提取了一个公共的头部、脚部组件 <template> <div id="app"> <Header></Header> <router-view/> <Footer></Footer> </div> </template> <script> import Header from "./com 阅读全文
posted @ 2021-08-24 14:38 LilLazy 阅读(186) 评论(0) 推荐(0) 编辑
摘要:在前后端分离vue作为前端框架,在使用服务器接口时面临的第一个问题就是跨域。本文涉及内容仅保证在vue-cli3.0脚手架创建的项目中、及本地调试中有效(使用之前版本脚手架创建的项目请自行转换),本文内容不适用于服务器端前后台打包部署。 一、处理跨域接口调用 1、在项目根目录下建立vue .conf 阅读全文
posted @ 2021-08-23 09:31 LilLazy 阅读(1265) 评论(0) 推荐(0) 编辑
摘要:// 在el-select上加上 :no-data-text=" 'No Data' <el-select class="filterselect" :no-data-text=" 'No Data' " v-model="value1" @change="changezzs(value1)" st 阅读全文
posted @ 2021-08-11 11:51 LilLazy 阅读(1516) 评论(0) 推荐(0) 编辑

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