logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

echarts缩放

echarts图表 加上dataZoom可实现缩放dataZoom: [//加上dataZoom可实现缩放{type: 'slider',//x轴xAxisIndex: 0,},{type: 'inside',//x轴.

echarts折线图 、数据百分比

echartsy轴百分比在yAxis中加上 formatter: ‘{value} %’yAxis: {type: 'value',axisLabel: {show: true,interval: 'auto',formatter: '{value} %'//纵坐标百分比}

echarts折线图 、数据百分比

echartsy轴百分比在yAxis中加上 formatter: ‘{value} %’yAxis: {type: 'value',axisLabel: {show: true,interval: 'auto',formatter: '{value} %'//纵坐标百分比}

vue中使用mavonEditor 代码高亮 修改顶部工具栏

安装:$ npm install mavon-editor --save在需要的组件里面引入:import { mavonEditor } from 'mavon-editor'import 'mavon-editor/dist/css/index.css'在组件里面写入<div class="mavonEditor"><mavon-editor ...

vue跳转页面传参取参

//传参this.$router.push({path:'/Show_blog',//地址,路由跳转index里面的地址query:{//传的参数id:id,userName:name}})//取参//在跳转到的那个页面const id = this.$route.query.idconst userName = this.$route.query.use...

vue项目运行报错Refused to load the image 'http://localhost:8080/favicon.ico' because it violates the follo

Refused to load the image ‘http://localhost:8080/favicon.ico’ because it violates the following Content Security Policy directive: “default-src ‘none’”. Note that ‘img-src’ was not explicitly set, so

java 避免重复写入数据库

对不允许重复的字段添加唯一索引insert into user (appid, nikeName, avatarUrl) value (#{appid}, #{nikeName}, #{avatarUrl})on duplicate key update nikeName=#{nikeName}, avatarUrl=#{avatarUrl}插入数据库 如果存在则更新nikeName和avatar

node写后台,axios携带cookie跨域解决

//在node中// res.header('Access-Control-Allow-Origin', '*');//把这个换掉res.header("Access-Control-Allow-Origin", req.headers.origin);//换成这个res.header("Access-Control-Allow-Credentials",true);//再加上这行如下图,...

vue axios 请求封装

import axios from "axios";import { message } from "ant-design-vue";/*** 配置* @type {AxiosInstance}*/const service = axios.create({baseURL: "",timeout: 0, //不限时});/*** 请求头设置设置token, 'Content-Type'等*/ser

到底了