- 博客(6)
- 收藏
- 关注
原创 微信小程序监听路由 及匹配当前路由
console.log(`未找到匹${activeIDS.value }配路由:${currentPath}`);console.log(`找到匹配${activeIDS.value }路由:${currentPath}`);console.log(`匹配项信息:`, matchedItem);
2024-04-24 17:23:45 548
原创 C# WinFrom Application下的方法以及用法
是用于重新启动整个应用程序的合适方法,特别适用于重新登录的情况。它会关闭当前应用程序的所有窗口,然后重新启动应用程序,为用户提供了一个全新的会话。这允许应用程序在消息处理期间保持响应,但通常不建议频繁使用,因为它可能导致一些不可预测的行为。这通常在没有主窗体的应用程序中使用,如控制台应用程序。当应用程序中的线程抛出未处理的异常时触发,允许捕获并处理这些异常。用于退出应用程序的消息循环线程。方法中使用,传入应用程序的主窗体。用于向应用程序添加消息筛选器,可以拦截和处理消息。用于启动应用程序的消息循环。
2023-09-10 16:39:15 771
原创 video 视频组件初体验
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>hangge.com</title></head><style> #durationBar{ border:solid 1px #164900; width:100%; margin-bottom:5px; }.
2021-06-11 20:49:23 185
原创 2021-05-20
proportion([w,h]) 调用方式 proportion(proportion) { let height = (outwidth * proportion[1] / proportion[0]).toFixed(2); if (height > outheight) { height = outh...
2021-05-20 16:01:14 76
原创 2021-05-11
根据url 获取参数调用方式let introductionId = this.getParamByUrl(urls, 'key');getParamByUrl: function(url, key) { var cfg = {}; if (!url) { return cfg; } if (url.indexOf("?"...
2021-05-11 09:12:07 95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人