上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 68 下一页
摘要: 定义一个 timer data() { return { timer: '', } }, 定时器 this.sendMsg_GetAddressList 为要延时调用的方法 1000 为1秒后执行 methods: { startTimer(){ this.timer = setTimeout(th 阅读全文
posted @ 2023-01-13 15:56 海乐学习 阅读(2617) 评论(0) 推荐(0) 编辑
摘要: 模板页 list-tel-card.vue <uni-td align="center"> <view class="uni-group"> <button class="uni-button" size="mini" @click="showMsgList(item.tel)">外呼</butto 阅读全文
posted @ 2023-01-13 15:43 海乐学习 阅读(282) 评论(0) 推荐(0) 编辑
摘要: setStorageSync同步存储 uni.setStorageSync("username","lty") 同步读取 let res=uni.getStorageSync("username") this.username=res setStorage //异步存储 uni.setStorage 阅读全文
posted @ 2023-01-13 15:23 海乐学习 阅读(4824) 评论(0) 推荐(0) 编辑
摘要: 官方参考文档:https://uniapp.dcloud.io/api/ui/prompt?id=showtoast 一、成功提示弹框 在执行增、删、改、查等提交成功后弹出提示。 uni.showToast({ title: '成功提示', //将值设置为 success 或者直接不用写icon这个 阅读全文
posted @ 2023-01-13 12:23 海乐学习 阅读(11440) 评论(0) 推荐(0) 编辑
摘要: uni-app打包H5后,访问index.html页面,页面却是白屏,Console控制台报错404,报错图如下: 原因: 解决方法: 配置文件manifest.json文件中H5配置里面,一开始配置的base为 "" ,就得需要在配置文件manifest.json文件中Web配置下,如果改为"./ 阅读全文
posted @ 2023-01-05 12:07 海乐学习 阅读(857) 评论(0) 推荐(0) 编辑
摘要: win10 系统 或 win 2012 server系统 在使用CefSharp时 CefSharp 67.00:System.IO.FileNotFoundException: 未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。找不到指定的模块.解决方法:需要先下载安装 阅读全文
posted @ 2022-12-08 11:35 海乐学习 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: 利用第三方组件 Spire.Doc 来实现Word文档打印。 using System; using Spire.Doc; using System.Windows.Forms; namespace Doc_Print { public partial class Form1 : Form { pu 阅读全文
posted @ 2022-12-01 09:00 海乐学习 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 方式一:使用Microsoft.Office.Interop.Word C#可利用Microsoft.Office.Interop.Word进行Word文档的静默打印,封装为如下代码: private static void Print(string fileName) { try { var wo 阅读全文
posted @ 2022-12-01 08:58 海乐学习 阅读(1310) 评论(0) 推荐(0) 编辑
摘要: CefSharp 能 在C# winform 中实现 浏览器 功能 同样的在浏览器中 网页上如果有 下载 按钮 实现下载功能 直接上代码 CefSharp 在winform上实现 浏览器功能 using System; using System.Text; using System.Windows. 阅读全文
posted @ 2022-11-29 16:48 海乐学习 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: 在 winform 窗体 项目中 pictureBox 控件 动态 赋 图片 this.PictureBox1.Image = Image.FromFile(@"images/AAA/A1.jpg"); "images/AAA/A1.jpg" 为相对目录 在工程的 Debug 目录下实现从远端服务器 阅读全文
posted @ 2022-11-29 14:37 海乐学习 阅读(372) 评论(0) 推荐(1) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 68 下一页