logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ECharts 柱状图上显示数据,并自定义图标

先看效果1.柱状图上显示数据,使用的是series[0].label.formatterseries: [{name:'近一周每日',type: 'bar',barGap: '0',label: {normal: {show: true,formatter: '{c}%',...

不在以下 request 合法域名列表中,请参考文档:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/networ

最近又重新新拿起了小程序,接触到了uni-app,在写的过程中,遇到的问题挺多的,也说明了自己真的好久没有好好的学习了,先上图吧"https://unidemo.dcloud.net.cn 不在以下 request 合法域名列表中,请参考文档:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/netwo...

#uni-app
react-dom.development.js:500 Warning: Can't perform a React state update on an unmounted component.

react-dom.development.js:500 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscript...

ERROR command failed: npm install --loglevel error --registry=https://registry.npm.taobao.org --di

vue-cli 3.0构建vue 项目时,报错如下: > chromedriver@2.41.0 install C:\vueDemo\myproject\node_modules\chromedriver> node install.jsDownloading https://chromedriver.storage.googleapis.com/2.41/chrom

#npm
Element-ui实现图片上传和表单提交功能,打开表单弹框,显示上传图片

<el-uploadclass="upload-demo"accept="image/jpeg,image/jpg,image/png"name="img"ref="img"action="/help/upload":file-list="fileList":on-

vue打包后过滤console.log和debugger

vue-cli搭建的项目在build下的webpack.prod.conf.js下添加如下代码new webpack.optimize.UglifyJsPlugin({compress: {warnings: false,drop_console: true,drop_debugger:true},...

#webpack
vue+express搭建项目,解决前后端跨域的问题

很早之前就想用nodejs写后台接口了,不想每次写vue的时候,都是用假数据或者是mock来写,最近正好在学习nodejs,看了下express框架,这次的数据我是在express里面造的假数据,主要想看下vue怎么和express相互连接起来使用的,后期我会加入mongdb,希望自己能坚持下去。。。。。看下面的内容之前,请确保自己已经安装了vue-cli的前端项目和express-gener..

#express
vue中slot-scope的使用

vue在2.5版本以后,貌似就将slot改为slot-scope了,刚开始对他的感觉就是,这个有啥作用啊,基本就瞟了一眼他的定义就过去了,后来在项目中发现他的作用还挺大的。基本用法//父组件<template><div class="father"><h3>这里是父组件</h3&a

git clone错误fatal: unable to access 'https://github.com/LitterPig/test-vueApp.git‘

重置本机git设置git config --global credential.helper store

#git
vue 路由跳转时,导致页面样式错乱的问题

最近遇到一个问题,当我页面路由跳转时,跳转后的页面的排版错位了,后来发现是跳转后的页面的样式代码在跳转前的页面里面已经被加载过了,而且我在每个组件页面里面写的style,都没有加上scoped,这种情况下,跳转后页面的样式会沿用了前一个页面的样式,导致页面错乱。解决办法:在跳转前和跳转后页面的style上加上scoped但是我项目用的是mint-ui框架,我的组件里面用了mint-ui的组...

    共 15 条
  • 1
  • 2
  • 请选择