摘要: docker run -p 5433:80 \ -e "PGADMIN_DEFAULT_EMAIL=登录账户" \ -e "PGADMIN_DEFAULT_PASSWORD=密码" \ -d dpage/pgadmin4 阅读全文
posted @ 2023-03-26 15:09 微风吹过~ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: const str = '你好,世界!'; const length = Array.from(str).reduce((acc, cur) => acc + (cur.charCodeAt(0) > 255 ? 2 : 1), 0); console.log(length); // Output: 阅读全文
posted @ 2023-03-23 14:30 微风吹过~ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 打开dockerhub查找postgres版本 地址 https://registry.hub.docker.com/_/postgres/tags 2.复制需要的版本 docker pull postgres:alpine3.17 复制需要的版本到服务器上执行 3.运行容器 -d 后台运行 阅读全文
posted @ 2023-03-15 23:33 微风吹过~ 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1.设置popper-class 和popper-append-to-body 属性 <el-select v-model="value" placeholder="请选择" popper-class="lioverhide" :popper-append-to-body ="false"> </e 阅读全文
posted @ 2023-03-10 15:39 微风吹过~ 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.官网地址 http://mozilla.github.io/pdf.js/getting_started/ 2.下载旧版本 3.复制到项目地址中使用<a>标签 <a href="../content/pdfjs-3.4.120-dist/web/viewer.html?file=xxx.pdf" 阅读全文
posted @ 2023-03-08 16:48 微风吹过~ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: ls | grep -E "^[0-9]+" | xargs rm -r 阅读全文
posted @ 2023-01-08 15:20 微风吹过~ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 一 、expect 语法 1.spawn 开启新的进程 2.expect 捕获系统输出 3.send 控制台发送命令 4.interact 结束 先新建test.sh ,然后放入下文命令,send中\r代表换行 ,修改send中密码,执行。 spawn sudo su - expect "*:*" 阅读全文
posted @ 2022-12-12 10:57 微风吹过~ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: <script> //选择框:pzpn 选择框文本:pzpnwb var pzpnfieldid = WfForm.convertFieldNameToId("pzpn"); var pzpnwbfieldid = WfForm.convertFieldNameToId("pzpnwb"); WfF 阅读全文
posted @ 2022-12-09 11:08 微风吹过~ 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.nuget引入Swashbuckle.AspNetCore <ItemGroup> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> </ItemGroup> 2.添加配置中间件Startup public 阅读全文
posted @ 2022-12-07 15:20 微风吹过~ 阅读(46) 评论(0) 推荐(1) 编辑
摘要: <script> //序号 const xh_id = WfForm.convertFieldNameToId('xh', "detail_1"); WfForm.registerAction(WfForm.ACTION_ADDROW+"1", function(index){ //获取当前行号 c 阅读全文
posted @ 2022-11-30 18:14 微风吹过~ 阅读(164) 评论(0) 推荐(0) 编辑