- 博客(71)
- 资源 (18)
- 收藏
- 关注
原创 node+express+morgan自定义 morgan 以捕获响应内容
node+express+morgan自定义 morgan 以捕获响应内容
2024-10-09 15:53:58
1030
原创 vue vue.use 封装常用方法
如模板中使用,在computed中声明计算属性。模板是就可以{{gljs}}创建wttools.js。main.js中引用。
2024-05-07 15:36:15
195
1
原创 el-collapse中title两端对齐
最主要的是必须加上width: -webkit-fill-available;el-collapse中title两端对齐。
2024-05-07 15:25:32
370
原创 Elemenu中el-table中使用el-popover选中关闭无效解决办法
主要使用ref定位,js中根据ref修改是否显示showPopper = false;
2024-03-07 15:01:07
776
2
原创 vue 跨域XMLHttpRequest
XMLHttpRequest对象还有一个status属性,表示HTTP响应状态码。常见的HTTP状态码有200表示请求成功,404表示请求的资源未找到,500表示服务器端内部错误等。XMLHttpRequest(XHR)底层是基于HTTP协议实现的。XMLHttpRequest对象有一个readyState属性,表示XMLHttpRequest对象的状态。当XMLHttpRequest对象接收到HTTP响应时,客户端脚本会根据响应头中的Content-Type字段来判断响应内容的类型。
2024-01-25 12:24:24
1276
原创 vscode常用插件
/运行html,在html文件中右键'在浏览器打开'就可运行html。VSCode中vue代码的ctrl+点击无法跳转定义问题。//vue代码自动格式化插件,统一代码格式。vscode-elm-jump:常规的代码跳转定义。//自动补全路径,自动完成文件名代码补全。// JavaScript代码段,方便js代码。//带着色的括号,方便查看代码层次结构。CSS Peek:按ctrl可以跳转css定义。vue-helper:变量函数跳转定义。//html 快速预览。
2024-01-16 14:23:52
423
原创 vue js layui element 常用笔记
vue全局过滤器写在main.js,显示小数点2位,用法{{sumA7|numDec(2)}}js 循环map filter ,返回新数组。js 循环forEach,替换内容。vue数组赋值变量不影响原数组。layer各种弹窗提示整理。layui搜索框回车事件。layui导出xls。
2024-01-16 14:22:02
474
原创 js对象取一个属性用逗号连接
原值 e=[{"name":"肠炎","code":"140032"},{"name":"感冒","code":"1110012"}]
2024-01-16 14:03:57
516
原创 js 调用动态函数传对象
/对象要在括号里不能用引号括着,如果参数是字符串则要用引号括着。var obj = {"name":"张三","age",14};--子组件调用父窗口事件。
2024-01-16 14:02:31
512
原创 修改vscode内置Vue VSCode Snippets(代码片段)
上面的TT就是修改后的效果。保存后重启vscode。打开vue.json。
2024-01-12 14:03:31
985
原创 PB 按Excel动态创建对应字段
/asc码其中48~57为0到9十个阿拉伯数字;65~90为26个大写英文字母,97~122号为26个小写英文字母。> 作者: wxk 日期: 2023-12-29 15:11:20。> wf_dw_init(dw_10,18)//18个字段。> 描述: 按excel表格列名,创建对应字段。> 返回: long。
2023-12-29 15:15:04
786
原创 python调用pb
按指定句柄找,pb中Handle(this) 得到hwnd=203218。# 给PB开发的应用窗口发送一个参数1,通知执行结束。# PB接收,other事件使用pbm_other,# 按窗口名称获取窗口句柄。# 读取系统窗口列表信息。
2023-07-13 11:07:36
349
转载 Vue 修改Props中的值
要想修改 props 的值,可以把 props 的值转存到 data 中,因为 data 中的数据都是可读可写的。Vue 规定:组件中封装的自定义属性是只读的,开发人员不能直接修改 props 的值。此时就可以操作this.data_item来修改从props传入的值。
2023-06-20 21:11:52
2477
原创 vue axios 同步请求
异步请求,需要去掉方法前的 async和await。创建scr/api/http2/ndex.js。创建目录scr/api/http2。main.js中引入全局方法。vue页面调用方法,同步请求。
2023-06-19 18:56:46
1055
1
原创 pb12.5 特殊字䄻datawindow显示乱码
高版本12.5 特殊字䄻datawindow显示乱码,显示乱码,保存后乱码解决1.使用pb12.5,sql20082.字段类型使用nvarchar以上2个解决显示乱码3.连接parm增加DisableBind=0,NCharBind=1如:SQLCA.DBParm ="Namespace='System.Data.SqlClient',DataSource='.\r2',Dat...
2020-03-24 16:59:36
744
原创 pb 大写人民币
global type gf_money from function_objectend typeforward prototypesglobal function string gf_money (decimal data)end prototypesglobal function string gf_money (decimal data);constant string ls...
2019-10-10 09:36:23
230
原创 pb 日期相关函数
//====================================================================// 函数: gf_firstday()//--------------------------------------------------------------------// 描述:返回某个月的第一天//------------------...
2019-10-10 09:35:48
878
原创 pb 字符串加密解密
global type gf_pass from function_objectend typeforward prototypesglobal function string gf_pass (string as_pass, integer as_flag)end prototypesglobal function string gf_pass (string as_pass, ...
2019-10-10 09:35:05
701
原创 pb 获取拼音码
global type gf_pym from function_objectend typeforward prototypesglobal function string gf_pym (string inputstring)end prototypesglobal function string gf_pym (string inputstring);//==========...
2019-10-10 09:33:36
747
原创 pb 打开文件,写入文件
打开文件global type gf_readfile from function_objectend typeforward prototypesglobal function blob gf_readfile (string as_path, string as_file)end prototypesglobal function blob gf_readfile (st...
2019-10-10 09:32:28
1390
原创 pb透明文本控件
forwardglobal type uo_transparent_st from statictextend typeend forwardglobal type uo_transparent_st from statictextinteger width = 288integer height = 72integer textsize = -9integer weight ...
2019-10-10 09:30:29
266
原创 pb uo_datastore
forwardglobal type uo_datastore from datastoreend typeend forwardglobal type uo_datastore from datastoreend typeglobal uo_datastore uo_datastoretype variablesstring is_sqlerrtextend var...
2019-10-10 09:29:49
402
原创 pb replace 替换指定字符
global type gf_replace from function_objectend typeforward prototypesglobal function integer gf_replace (ref string as_source, string as_old, string as_new)end prototypesglobal function intege...
2019-10-10 09:26:18
2410
IPT内网穿透v1.4.zip
2019-05-16
IPT内网穿透.zip
2019-05-15
pb微信支付 刷卡支付 扫码支付 扫码付 二维码支付 修正版
2017-11-10
pb源码微信支付 刷卡支付 扫码支付 扫码付 二维码支付
2017-11-08
PB微信支付源码
2016-05-24
ppb开发wince直连sql2000数据库
2014-04-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人