should error vue3 line

Vue3Router路由传参

import { useRouter } from 'vue-router' //首先在setup中定义 const router = useRouter() // 字符串 router.push('home') // 对象 router.push({ path: 'home' }) // 命名的路 ......
路由 Vue3Router 3Router Router Vue3

用vite创建vue3项目

打算用vite创建vue3项目 1.安装 npm init vite-app <项目名称> cd <项目名称> npm install npm run dev ## 执行完以上命令,就意味着你的vue3.0项目已经用上了vite了 提示 deprecated 改为: npm init @vitejs ......
项目 vite vue3 vue

prometheus Error on ingesting samples that are too old or a re too far into the future

目录prometheus Error on ingesting samples that are too old or a re too far into the future磁盘问题时间问题版本问题历史prometheus旧数据 prometheus Error on ingesting samp ......
prometheus ingesting too samples future

Vue3 打印,合并单元格

一、npm i vue3-print-nb 1、按钮: <el-button type="danger" v-print="printObj" icon="Star">交接并打印</el-button> 2、打印区域外边添加div <div ref="printContent" id="printC ......
单元 Vue3 Vue

vue3 -点击按钮进入新的页面

一、调用页面 //路由 import { useRouter } from 'vue-router let $router = useRouter() // 车组调整页面 const handleCar=(row:any) =>{ $router.push({path:"/test/edit",qu ......
按钮 页面 vue3 vue

vue3 用法汇总(二)

1、列表中鼠标放在不同单元格显示不同的背景颜色 <el-table v-resize:44 :data="tableData" class="table marking-table" border style='margin: 10px 0px' highlight-current-row elem ......
vue3 vue

Go语言基础之error接口

Go 语言中的错误处理与其他语言不太一样,它把错误当成一种值来处理,更强调判断错误、处理错误,而不是一股脑的 catch 捕获异常。 Error接口和错误处理 Error 接口 Go 语言中把错误当成一种特殊的值来处理,不支持其他语言中使用try/catch捕获异常的方式。 Error 接口 Go ......
语言基础 接口 语言 基础 error

vue3 学习一 搭建环境

1. 安装node nmp nvm 2. 构建vue脚手架 2.1 创建工程 nmp init vite@latest 或者 npm init vue@latest (配置比较全) 创建工程名 vue-demo 选择vue, typescript 2.2 安装依赖包和运行 cd vue-demo n ......
环境 vue3 vue

mysql登录报错ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded

现象:某主机远程登录数据库出现如下报错 [xxxx01 ~]$ mysql -h 10.1.254.139 -u root -p Enter password: ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: ......
caching_sha password caching Plugin loaded

【zabbix】configure: error: Unable to use libevent (libevent check failed)解决方案

安装zabbix,在zabbix目录下执行编译命令时报错configure: error: Unable to use libevent (libevent check failed),如图: 说明:新服务器,一般依赖不足,需要视情况安装依赖,问题解决。 解决方案: yum install libe ......

zabbix4.x安装出现“configure: error: Not found mysqlclient library”的解决办法

一、zabbix3.x安装出现“configure: error: Not found mysqlclient library”的解决办法 1、编译安装zabbix-server出现 编译时加参数:--with-mysql 在编译时,可能会出现题目中所示的错误,可以通过安装mysql-devel这个 ......
mysqlclient configure zabbix4 library 办法

编译安装zabbix时遇到configure: error: no acceptable C compiler found in $PATH 问题解决

./configure --prefix=/usr/local/zabbix --enable-agent no acceptable C compiler found in $PATH,代表你没有安装C编译器 解决办法如下: 安装GCC软件套件 ......
acceptable configure compiler zabbix 问题

/home/software/TRF/missing: line 81: aclocal-1.16: command not found

001、报错如下:/home/software/TRF/missing: line 81: aclocal-1.16: command not found 002、解决方法 ......
software aclocal command missing found

nginx报错 [error] 612#4188: CreateFile() "C:\yjzx\nginx-1.24.0/logs/nginx.pid" failed (2: The system cannot find the file specified)

背景 无论是nginx -s stop还是nginx -s reload命令,都会出现这个错误。 [error] 612#4188: CreateFile() "C:\yjzx\nginx-1.24.0/logs/nginx.pid" failed (2: The system cannot fin ......
nginx quot CreateFile specified cannot

yum install 报错Error downloading packages

yum install ntp报以下错误: Error downloading packages: autogen-libopts-5.18-5.el7.x86_64: [Errno 5] [Errno 2] No such file or directory ntp-4.2.6p5-29.el7. ......
downloading packages install Error yum

PHP file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...

在调试php脚本代码时,发现使用 file_get_contents() 函数请求HTTPS的网址链接时出现了报错,其报错代码如下面所示“file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...”百 ......

vue用法汇总--包含各种控件(大部分是vue3)

1、导航功能 <template #header> <div class="card-header"> <el-icon><Watch /></el-icon> <span>实时排班信息</span> </div> </template> 2、 日期 1 <el-form-item> 2 <el-d ......
控件 vue 大部分 vue3

Syntax Error: Error: Node Sass version 8.0.0 is incompatible with ^4.0.0.

依赖关系如图: 如果报如题这个错误,并且按照上面node-sass官网的依赖关系依赖对了node版本还不行,那么,请删除node-sass npm uninstall node-sass 然后执行 npm i sass --save-dev 然后运行项目,如果出现类似图片中的错误时,别慌,把所有的/ ......
Error incompatible version Syntax Node

vue3.0父级组件调用子组件方法

vue3.0父级组件调用子组件方法 场景:在页面开发过程中,我经常涉及到不同组件之间的元素和方法的调用。就此记录在vue3.0项目,也是我开发的开源项目中的实现方式。 父级组件调用子级 1.应用场景 以下以我的代码实现为例:在左侧菜单中,通过点击新建会话,在会话列表中新建一个会话框。 其中:会话列表 ......
组件 方法 vue3 vue

mysql docker容器中导入数据库失败 Failed to open file ‘‘****.sql‘‘, error: 2

mysql docker 容器中导入数据库失败【Failed to open file ‘’****.sql’’, error: 2】使用浑身解数docker exec -it xxxxxxxxx sh 进入mysql容器。mysql -uroot -pxxxx 登陆use database; 切换 ......
容器 数据库 数据 docker Failed

vue3项目 - 手写可拖拽带进度监控的文件上传组件

1.实现原理: 原生的上传文件组件: <input ref="uploadFileRef" style="display: none" type="file"/> 自定义上传区域: 拖拽事件添加(dragover,dragenter,drop),点击事件添加(click) 调用原生上传组件的clic ......
进度 组件 文件 项目 vue3

报错 org.springframework.dao.DataIntegrityViolationException: Error attempting to get column

原因是持久化层的字段属性 跟 数据库的没有对应上, 类型不对 dao.DataIntegrityViolationException: Error attempting to get column 'STATUS' from result set. <if test="record.status ! ......

vuejs3.0 从入门到精通——基于 Vite 搭建 Vue3 项目

基于 Vite 搭建 Vue3 项目 一、为什么选 Vite https://www.vitejs.net/ 在浏览器支持 ES 模块之前,JavaScript 并没有提供的原生机制让开发者以模块化的方式进行开发。这也正是我们对 “打包” 这个概念熟悉的原因:使用工具抓取、处理并将我们的源码模块串联 ......
项目 vuejs3 vuejs Vite Vue3

uniapp开发编写nvue报警Unhandled error during execution of render function

关键的两行报错如下: [Vue warn]: Unhandled error during execution of render function [Vue warn]: Unhandled error during execution of scheduler flush. This is li ......
Unhandled execution function uniapp during

[vue3] watch和watchEffect简记

watch的数据源 watch函数的第一个参数是监听的数据源,可以是: ref和computed创建的响应式数据; reactive创建的响应式对象; getter函数; 多个数据源组成的数组; 注: 响应式对象的属性需要使用getter监听。 当数据源是响应式对象时,其属性的变更会触发回调函数,但 ......
简记 watchEffect watch vue3 vue

Python:重装Python后,在pycharm运行报错——Cannot run program "C:\Users\*****\Python36\python.exe" (in directory "E:\www\python_tony\spider"): CreateProcess error=2, 系统找不到指定的文件。

电脑重装Python后,重新打开Pycharm执行python,发现报错:Cannot run program "C:\Users\***\Python36\python.exe" (in directory "E:\www\python_tony\spider"): CreateProcess e ......
quot Python python CreateProcess python_tony

Vue3中使用Element Plus Icon图标

1. 安装 npm install element-plus --save 2. main.js 引入 import * as Elicons from "@element-plus/icons-vue"; for (const name in Elicons) { app.component(na ......
图标 Element Vue3 Plus Icon

Error loading wikitext data raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")

Error loading wikitext data raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).name} is not supported.") QA I was trying to loa ......

linux启动mysql数据库,报错mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

如下 原因: 解决方案: 1、在/usr/lib64目录里面找一个差不多名称版本的文件进行链接 # 软连接出一个新的文件 sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5 若本服务器没有相近版本的文件 2、从其他服务器下载一 ......
shared mysql file directory libraries