摘要: 降低插件版本 pip install urllib3==1.26.16 -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2024-02-13 22:36 LeoShi2020 阅读(17) 评论(0) 推荐(0) 编辑
摘要: curl -O https://ftp.openssl.org/source/openssl-1.1.1k.tar.gz \ && tar xf openssl*.gz \ && cd openssl* \ && ./config --prefix=/usr --openssldir=/etc/ss 阅读全文
posted @ 2024-01-19 11:23 LeoShi2020 阅读(67) 评论(0) 推荐(0) 编辑
摘要: CentOS7 pyenv安装Python 3.10.13 报错 yum install -y openssl-devel openssl11-devel openssl11-lib CPPFLAGS="-I/usr/include/openssl11" LDFLAGS="-L/usr/lib64/ 阅读全文
posted @ 2023-10-18 14:24 LeoShi2020 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1. 查看DHCP IP地址池 IP使用情况 <Core_1#_3F_01_CCTV>dis dhcp server ip-in-use pool vlan113 IP address Client-identifier/ Lease expiration Type Hardware address 阅读全文
posted @ 2023-05-12 09:06 LeoShi2020 阅读(163) 评论(0) 推荐(0) 编辑
摘要: # https://www.npmjs.com/package/nprogress pnpm i nprogress // main.js import 'nprogress/nprogress.css' // App.vue 自定义一下loading的滚动条样式 <style> #nprogres 阅读全文
posted @ 2023-04-18 11:40 LeoShi2020 阅读(25) 评论(0) 推荐(0) 编辑
摘要: pnpm i vuex@next # 创建 @/store/index.js import { createStore } from 'vuex' // 创建一个新的 store 实例 const store = createStore({ state() { return { // 初始化用户信息 阅读全文
posted @ 2023-04-11 21:30 LeoShi2020 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1. 步骤 form表单提交账号密码 提交成功 validate 对整个表单的内容进行验证。 接收一个回调函数,或返回 Promise。 (callback?: (isValid: boolean, invalidFields?: ValidateFieldsError) => void) => P 阅读全文
posted @ 2023-04-10 16:12 LeoShi2020 阅读(80) 评论(0) 推荐(0) 编辑
摘要: <template> <h1>后台首页</h1> <el-button @click="set">设置</el-button> <el-button @click="get">读取</el-button> <el-button @click="remove">删除</el-button> </tem 阅读全文
posted @ 2023-04-10 10:48 LeoShi2020 阅读(165) 评论(0) 推荐(0) 编辑
摘要: useRouter(跳转), useRoute(获取路由参数) // login.vue // 路由跳转-引入-01 import { useRouter } from "vue-router"; // 路由跳转-实例化后-02 // useRouter 使用push方法进行跳转 const rou 阅读全文
posted @ 2023-04-10 09:42 LeoShi2020 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. 创建login.vue文件 // @/pages/login.vue <el-form ref="formRef" :rules="rules" :model="form"> <el-form-item prop="username"> <el-input v-model="form.user 阅读全文
posted @ 2023-04-09 23:26 LeoShi2020 阅读(33) 评论(0) 推荐(0) 编辑