Chris的博客

前端路漫漫


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

npm安装卸载指令

发表于 2022-07-11 | 分类于 node

npm安装模块

  • npm install xxx 安装xxx模块到当前命令行所在目录
  • npm install xxx -g 全局安装xxx模块
阅读全文 »

VUE-CLI3+PX2REM-LOADER+SCSS移动端自适应配置

发表于 2022-07-06 | 分类于 Vue

1 前言

移动端自适应需要做适配,本文介绍vue-cli3+px2rem-loader+scss的配置

阅读全文 »

ecahrts雷达图tooltip显示axis单轴数据

发表于 2022-05-26 | 分类于 Echarts

1、遇到问题

在echarts雷达图中将tooltip.trigger设置为axis时失效,雷达图并不会显示单轴数据,而是整个雷达图的数据

阅读全文 »

Echarts tooltip formatter函数使用

发表于 2022-05-20 | 分类于 Echarts

tooltip

实现如上默认的tooltip样式,tooltip配置部分代码如下:

阅读全文 »

webstorm快捷键

发表于 2022-05-19 | 分类于 工具

ctrl+/ 单行注释
ctrl+shift+/ 块注释
ctrl+shift+ +/- 展开/折叠
ctrl+alt+L 格式化代码
ctrl+shift+ up/down 上下移动句子

阅读全文 »

vue事件代理

发表于 2022-05-10 | 分类于 Vue

一般使用 v-for遍历数组然后给每个子元素绑定onClick方法然后传入下标:

阅读全文 »

el-table二次封装

发表于 2022-04-06 | 分类于 elementUI

在vue开发中使用element-ui的el-table时一般都需要进行封装以便于复用,提高开发效率,减少重复代码,这篇博客对el-table进行简单的二次封装:

阅读全文 »

You are using the runtime-only build of Vue where the template compiler is not available.

发表于 2022-03-16 | 分类于 踩坑

vue报错:You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

阅读全文 »

js中对象的属性描述对象

发表于 2022-01-20 | 分类于 JavaScript

1.概述

JavaScript 提供了一个内部数据结构,用来描述对象的属性,控制它的行为,比如该属性是否可写、可遍历等等。这个内部数据结构称为“属性描述对象”(attributes object)。每个属性都有自己对应的属性描述对象,保存该属性的一些元信息。

阅读全文 »

js判断数据类型,toString() 的应用

发表于 2022-01-19 | 分类于 JavaScript

Object.prototype.toString方法返回对象的类型字符串,因此可以用来判断一个值的类型:

阅读全文 »
12…5
陈文杰

陈文杰

在城院学计算机又学不好的辣鸡死宅

43 日志
17 分类
84 标签
RSS
GitHub E-Mail 简书
© 2022 陈文杰
本站总访问量次 | 本站访客数人