摘要: RegExp对象方法 1. exec() 查找一个并返回要查的字符串var str="Hello world!";var patt=/Hello/g;var result=patt.exec(str);console.log(result[0]);2. test() 查找并返回 true 或 fal 阅读全文
posted @ 2022-04-20 11:46 jqynr 阅读(45) 评论(0) 推荐(0)
摘要: 1.超过坐标轴的指示刻度去掉xAxis.axisTick.show=falseyAxis.axisTick.show=false2.坐标轴两侧不留白,0点重合xAxis.boundaryGap=false3.坐标轴名yAxis.name='数量'4.坐标轴线的样式xAxis.axisLine.lin 阅读全文
posted @ 2022-04-19 10:28 jqynr 阅读(135) 评论(0) 推荐(0)
摘要: 1,install echarts 2,全局注册main.js import echarts from 'echarts' Vue.prototype.$echarts = echarts 3,页面使用 <div id="chart1" :style="{ width: '460px', heigh 阅读全文
posted @ 2022-04-15 15:04 jqynr 阅读(525) 评论(0) 推荐(0)
摘要: 1. for 循环 arr/str let cars = ["BMW", "Volvo", "Saab", "Ford"]; for (var i = 0; i < cars.length; i++) { console.log(cars[i]); } 例: for (;cars[i];) { do 阅读全文
posted @ 2022-04-13 11:39 jqynr 阅读(138) 评论(0) 推荐(0)
摘要: 使用 string[2],可以当数组用 属性 length 返回长度 方法 charAt() 返回指定索引位置的字符 charCodeAt() 返回指定索引位置字符的 Unicode 值 concat() 连接两个或多个字符串,返回连接后的字符串 String.fromCharCode() 将 Un 阅读全文
posted @ 2022-04-12 11:39 jqynr 阅读(63) 评论(0) 推荐(0)
摘要: 1. utils/upload.js import axios from 'axios' import { getToken } from '@/utils/auth' const baseUrl = process.env.VUE_APP_BASE_API export function uplo 阅读全文
posted @ 2022-04-06 16:19 jqynr 阅读(413) 评论(0) 推荐(0)
摘要: 扩展库,app.json中加 "useExtendedLib": { "weui": true } 阅读全文
posted @ 2022-04-04 20:49 jqynr 阅读(32) 评论(0) 推荐(0)
摘要: 来自:https://blog.csdn.net/qq_43379916/article/details/120206962 1. app.json // 需要先定义tabBar页面 // “pages” 配置里面也不要忘了 "tabBar": { "custom": true, "list": [ 阅读全文
posted @ 2022-04-04 20:46 jqynr 阅读(942) 评论(0) 推荐(0)
摘要: 我一直是个怀揣泥土的人,遇见你,它就有了瓷的模样。从此,我不甘于与腐草为伍,于是一步步走出泥潭,不断向上攀登,既为了去呼吸吹过原野的清风,也为了去看看比山顶更高的星空。 没有遇见你之前,我看山是山,看柳是柳。遇见你之后,山是故人眸,柳是纤纤手,我总想多看几遍,因此脚下生了根,步步都难走。从此星河滚烫 阅读全文
posted @ 2022-04-02 12:47 jqynr 阅读(38) 评论(0) 推荐(0)
摘要: 1. 模板 <el-form-item label="上级分类" prop="itemId"> <el-cascader :options="parentData" :show-all-levels="true" :props="{ checkStrictly: true, value: 'id' 阅读全文
posted @ 2022-04-01 17:37 jqynr 阅读(1216) 评论(0) 推荐(0)
摘要: <el-table-column label="状态" min-width="80px" :show-overflow-tooltip="true" > <template slot-scope="scope"> {{ scope.row.status == 0 ? "正常" : "已禁用" }} 阅读全文
posted @ 2022-04-01 13:49 jqynr 阅读(539) 评论(0) 推荐(0)
摘要: npm config get prefix npm config get cache 镜像 淘宝镜像 npm config set registry https://registry.npm.taobao.org 原来镜像 npm config set registry https://regist 阅读全文
posted @ 2022-03-29 16:11 jqynr 阅读(42) 评论(0) 推荐(0)
摘要: :show-overflow-tooltip='true' 阅读全文
posted @ 2022-03-29 11:58 jqynr 阅读(46) 评论(0) 推荐(0)
摘要: 父组件 插入组件 <tree-select :treeOpen="treeOpen" :treeType="treeType" :paperId="paperId" @close-tree="closeTree" /> 引入组件 import treeSelect from "./treeSelec 阅读全文
posted @ 2022-03-28 13:39 jqynr 阅读(363) 评论(0) 推荐(0)
摘要: @change="checked=>方法名(checked,你想传的额外参数...)" 阅读全文
posted @ 2022-03-28 13:00 jqynr 阅读(114) 评论(0) 推荐(0)
摘要: 找合适的node版本 https://nodejs.org/zh-cn/download/releases/ npm不能自己安装自己 cnpm install -g npm@6.14.8 好像又可以了 npm install -g npm@9.2.0 比如 node 14.19.0npm 6.14. 阅读全文
posted @ 2022-03-28 12:53 jqynr 阅读(210) 评论(0) 推荐(0)
摘要: 参考网址:https://www.cnblogs.com/sochishun/p/14505669.html 1.打开 https://ipaddress.com/website/github.com 2.找到ip 3.修改本地电脑系统 hosts 文件 Windows 系统中的文件路径:C:\WI 阅读全文
posted @ 2022-03-26 09:01 jqynr 阅读(23) 评论(0) 推荐(0)