elementui 动态生成的 el-form-item rules校验失效 <el-form-item key='studyTime' label="学习时长" prop="studyTime">添加一个 key='studyTime', key的内容唯一性就行 2024-06-25 05:01:33 Vue ·
公式编辑器 自定义公式编辑器在线预览地址<template> <div class="home"> <div class="calc-main"> <div class="formulaView" id="formulaView" ref="formulaView" @click.stop="recordPosition()... 2024-06-21 04:36:28 Vue ·
TOTP otpauth import * as OTPAuth from "otpauth"; let totp = new OTPAuth.TOTP({ // Provider or service the account is associated with. issuer: "ACME", // Account identifier. label: "AzureDiamond", // Algorithm used for the HMAC fu... 2024-06-20 06:08:00 未分类 Vue ·
vuedraggable 在线预览<template> <div class="c"> <vuedraggable handle=".handle" class="list-group" tag="ul" v-model="list" v-bind="dragOptions" @start="drag = true" ... 2024-06-03 10:09:42 Vue ·
createDecorator 自定义装饰器 二次确认import { MessageBox } from 'element-ui' import { createDecorator } from 'vue-class-component' export function Confirm(msg: any) { return createDecorator(function (opts, handler) { if (!opts.methods) throw new Error( 'This decorator ... 2024-05-29 09:46:00 未分类 Vue ·
EA Racenet API 公共请求头:const headers = { Authorization: `Bearer eyJraWQiOiIw` }1、查询GET:https://web-api.racenet.com/api/Friend/profile 好友中搜索GET:https://web-api.racenet.com/api/Friend/search 非好友中搜索请求参数,路径参数{ searchTerm: "", // 搜索关键字 pageNumber: 1, pageSize: 20, in... 2024-05-16 04:19:16 NodeJS ·
Element v-loading 当页面太长,loading的图标无法显示在当前的视口中的问题 在使用 Element UI 的 v-loading 指令时,如果页面内容过长,loading 遮罩层会相对于绑定元素进行定位。这就可能导致 loading 图标无法出现在当前视口中心解决方法:以服务的方式调用import { Loading } from 'element-ui'; let loadingInstance = Loading.service({ lock: true, text: 'Loading...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0... 2024-05-14 08:20:00 Vue ·
RustDesk 自建服务器 https://github.com/rustdesk/rustdesk-server/releases rustdesk-server-linux-amd64.zip官网教程:https://rustdesk.com/docs/zh-cn/self-host/rustdesk-server-oss/windows/https://rustdesk.com/zh/下载解压,使用PM2 持久化运行pm2 start hbbs -- -r \[自己的服务器IP地址\] pm2 start hbbr pm2 start hbbs -- -r 192.... 2024-04-13 12:11:00 Linux ·
Minio 之 Nodejs docker run -p 9000:9000 -p 9090:9090 --net=host --name minio -d --restart=always -e "MINIO_SERVER_URL=http://111.73.12.186:9000" -e "MINIO_ACCESS_KEY=asd123" -e "MINIO_SECRET_KEY=ert123" -v /home/minio/data:/data -v /home/minio/config:/root/.minio... 2024-04-08 05:30:00 NodeJS ·
axios 设置了返回类型为文件流,但是不返回文件流 if (res.data.type === "application/json") { let result = await res.data.text(); result = JSON.parse(reader); }if (res.data.type === "application/json") { const reader = new FileReader(); reader.readAsText(res.data, "utf-8"); r... 2024-04-07 05:51:07 Vue ·
nuxt项目本地启动,多开标签一直显示加载中 本地npm run dev启动,多开几个标签页,会出现卡死或一直转圈的情况,如果关闭其中一个tab标签,卡死的tab标签页就会立即加载完成,控制台看不到任何错误信息。 因为浏览器对同一个主机有连接数限制。官方解释:https://github.com/nuxt/nuxt/issues/8190 2024-04-07 01:56:50 Vue NodeJS ·
Parallels Desktop 19.3.0 54924 破解教程(pd19永久授权) 转至:https://www.luoxx.top/archives/pd-18-active?cid=1621、在pd官网下载安装包并且安装,安装完成后退出pd,也可以直接点击下方地址下载。(按需下载所需版本,目前推荐下载19.1.0)19.0.0 https://download.parallels.com/desktop/v19/19.0.0-54570/ParallelsDesktop-19.0.0-54570.dmg19.1.0 https://download.parallels.com/desktop/v19/19.1.0-54729/... 2024-03-30 03:07:00 MAC ·
修改原型链导致前端预览PDF异常 添加/修改原型链,导致pdf.js解析异常, 可能此库对原型链做了防污染处理报错如下The `Array.prototype` contains unexpected enumerable properties: hasItem, removeItem; thus breaking e.g. `for...in` iteration of `Array`s其中 hasItem , removeItem 为自定义添加的内容解决方法 let unexpectedProperties = [], logArr = []; for (let key... 2024-03-21 09:04:49 Vue ·
移动端 pdfh5 预览pdf import pdfh5 from "pdfh5"; import "pdfh5/css/pdfh5.css";let pdfH5Res = new pdfh5("#signpdf", { pdfurl: resUrl, responseType: "blob", });报错异常The `Array.prototype` contains unexpected enumerable properties: hasItem, removeItem; ... 2024-03-21 08:17:17 Vue ·
uniapp uview table组件单元格高度错位, 单元格未对齐 .table { & /deep/ .u-td { height: auto !important; } } 2024-03-02 10:46:00 uniapp ·