12 2018 档案

摘要:beforeUpload (file) { var _this = this; var reader = new FileReader(); reader.readAsDataURL(file); reader.onload = function(e) { // 图片base64化 var newU 阅读全文
posted @ 2018-12-29 15:47 Mr_R 阅读(5500) 评论(0) 推荐(1) 编辑
摘要:vue3下 vue.config.js中 devServer: { host: '0.0.0.0', port: 8080, proxy: { '/': { target: 'http://127.0.0.1:8080/', changeOrigin: true, pathRewrite: { '^ 阅读全文
posted @ 2018-12-25 09:53 Mr_R 阅读(4654) 评论(0) 推荐(0) 编辑
摘要:github: https://github.com/artiely/Administrative-divisions-of-China 阅读全文
posted @ 2018-12-20 14:18 Mr_R 阅读(1025) 评论(0) 推荐(0) 编辑
摘要:element-ui npm install element-ui -- save; main.js中 import Element from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; Vue.use(Element); 阅读全文
posted @ 2018-12-19 15:11 Mr_R 阅读(1045) 评论(0) 推荐(0) 编辑
摘要:会刷新: <el-form-item> <button @click="register('form')" class="submitBtn">提交</button> </el-form-item> 不会刷新: <el-form-item> <button @click.prevent="regis 阅读全文
posted @ 2018-12-11 09:59 Mr_R 阅读(2204) 评论(0) 推荐(1) 编辑
摘要:1. css3 ul{ width: 200px; height: 200px; background-color:black; border-radius: 50%; position: relative; margin: 100px; } li{ width: 20px; height: 20p 阅读全文
posted @ 2018-12-10 13:22 Mr_R 阅读(1971) 评论(0) 推荐(0) 编辑
摘要:正常请求接口: return request({ url: 'http://192.168.1.0/User/cancelUpgrade', method: 'get', params: data }) vue.config.js里配置 记住重启 devServer: { host: '0.0.0. 阅读全文
posted @ 2018-12-04 13:40 Mr_R 阅读(3268) 评论(0) 推荐(0) 编辑

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