04 2022 档案
摘要:cnpm install core-js@3 --save 或者 cnpm install core-js@2 --save
阅读全文
摘要:表单格式化数据 <el-table-column label="审核状态" :align="tableCenter" prop="authStatus" :formatter="statusFormat" /> //审核状态--获取名称 statusFormat(row, column) { let
阅读全文
摘要:参考:https://blog.csdn.net/u014602228/article/details/122629438 二进制安装 1.官网下载或者 wget https://nodejs.org/dist/v12.18.4/node-v12.18.4-linux-x64.tar.xz 2.解压
阅读全文
摘要:1.fcitx apt install fcitx fcitx-googlepinyin 2.ibus apt-get install ibus ibus-pinyin im-config 搜索设置 添加中文pinyin输入法,设置切换按键
阅读全文
摘要:参考网址 https://blog.csdn.net/qq_45860349/article/details/122480113 vim /etc/apt/sources.list 添加 #清华大学deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-r
阅读全文
摘要:参考链接https://blog.csdn.net/qq_54780911/article/details/121723987 1.下载 https://www.kali.org/get-kali/ 2.找到Live Boot下载 3.找到种子链接,不要直接下 4.下载U盘启动工具 https://
阅读全文
摘要:1、准备好一张图片(*.ico)将其复制到u盘里,改名为“only.ico” 2、在u盘上新建一个记事本,并改命为Autorun.inf,切记是inf格式。 3、在Autorun.inf文件内输入以下内容 [Autorun] icon=only.ico 4、将Autorun.inf和only.ico
阅读全文
摘要:<div id="chart1" :style="{ width: '49%', height: '360px' }"></div> mounted() { window.addEventListener("resize", this.resizeCharts); }, resizeCharts()
阅读全文
摘要:this.$confirm("您确认要审核吗?", "警告", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", }) .then(function () { return auditors({ id: id, a
阅读全文
摘要:elementui 验证 pressure: [ { required: true, message: "请输入密码", trigger: "blur" }, { pattern: /^[1-9]{1}[0-9]{0,7}$/, message: "只能输入1-8位数字", trigger: "bl
阅读全文
摘要:匹配数字1-8位 /^[1-9]{1}[0-9]{0,7}$/ 非空 /^[\s\S]*.*[^\s][\s\S]*$/ 密码数字和大小写 /^(?![0-9a-z]+$)(?![a-zA-Z]+$)(?![A-Za-z]+$)[0-9A-Za-z]{8,50}$/ 密码数字,大小写和特殊字符 /^
阅读全文
摘要:RegExp对象方法 1. exec() 查找一个并返回要查的字符串var str="Hello world!";var patt=/Hello/g;var result=patt.exec(str);console.log(result[0]);2. test() 查找并返回 true 或 fal
阅读全文
摘要:1.超过坐标轴的指示刻度去掉xAxis.axisTick.show=falseyAxis.axisTick.show=false2.坐标轴两侧不留白,0点重合xAxis.boundaryGap=false3.坐标轴名yAxis.name='数量'4.坐标轴线的样式xAxis.axisLine.lin
阅读全文
摘要:1,install echarts 2,全局注册main.js import echarts from 'echarts' Vue.prototype.$echarts = echarts 3,页面使用 <div id="chart1" :style="{ width: '460px', heigh
阅读全文
摘要: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
阅读全文
摘要:使用 string[2],可以当数组用 属性 length 返回长度 方法 charAt() 返回指定索引位置的字符 charCodeAt() 返回指定索引位置字符的 Unicode 值 concat() 连接两个或多个字符串,返回连接后的字符串 String.fromCharCode() 将 Un
阅读全文
摘要:1. utils/upload.js import axios from 'axios' import { getToken } from '@/utils/auth' const baseUrl = process.env.VUE_APP_BASE_API export function uplo
阅读全文
摘要:扩展库,app.json中加 "useExtendedLib": { "weui": true }
阅读全文
摘要:来自:https://blog.csdn.net/qq_43379916/article/details/120206962 1. app.json // 需要先定义tabBar页面 // “pages” 配置里面也不要忘了 "tabBar": { "custom": true, "list": [
阅读全文
摘要:我一直是个怀揣泥土的人,遇见你,它就有了瓷的模样。从此,我不甘于与腐草为伍,于是一步步走出泥潭,不断向上攀登,既为了去呼吸吹过原野的清风,也为了去看看比山顶更高的星空。 没有遇见你之前,我看山是山,看柳是柳。遇见你之后,山是故人眸,柳是纤纤手,我总想多看几遍,因此脚下生了根,步步都难走。从此星河滚烫
阅读全文
摘要:1. 模板 <el-form-item label="上级分类" prop="itemId"> <el-cascader :options="parentData" :show-all-levels="true" :props="{ checkStrictly: true, value: 'id'
阅读全文
摘要:<el-table-column label="状态" min-width="80px" :show-overflow-tooltip="true" > <template slot-scope="scope"> {{ scope.row.status == 0 ? "正常" : "已禁用" }}
阅读全文

浙公网安备 33010602011771号