上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 48 下一页
摘要: 双向IPC的一个常见应用:从渲染器进程代码调用主进程模块并等待结果 【ipcRenderer.invoke】《 》【ipcMain.handle()】 main.js const { app, BrowserWindow, ipcMain, dialog } = require('electron/ 阅读全文
posted @ 2024-11-04 18:14 Felix_Openmind 阅读(222) 评论(0) 推荐(0)
摘要: 【ipcRenderer.send】API发送消息,之后使用【ipcMain.on】API接收 从Web内容调用主进程API 主进程监听main.js =》 ipcMain.on() 预加载脚本暴露ipcRenderer.send() 》需要使用 contextBridge API 来选择要从预加载 阅读全文
posted @ 2024-11-04 17:41 Felix_Openmind 阅读(115) 评论(0) 推荐(0)
摘要: <a-tree :tree-data="selectItem.options.options" :replace-fields="{ children: 'children', title: 'label', code: 'code' }" > <template #title="{ label, 阅读全文
posted @ 2024-10-17 11:46 Felix_Openmind 阅读(187) 评论(0) 推荐(0)
摘要: <template> <!-- 身份证号 --> <a-input v-decorator="[ record.model, // input 的 name { initialValue: getInitlVal(record), // 默认值 rules: [ { required: true, 阅读全文
posted @ 2024-10-11 14:18 Felix_Openmind 阅读(265) 评论(0) 推荐(0)
摘要: <template> <a-modal class="modal-container" style="min-width: 1180px;" :visible="modalState.visible" :footer="null" :bodyStyle="{padding: 0, borderRad 阅读全文
posted @ 2024-09-12 20:15 Felix_Openmind 阅读(237) 评论(0) 推荐(0)
摘要: 参考:https://juejin.cn/post/7368433531926052874 相关命令 nginx // 启动 nginx -s stop // 停止 nginx -s reload // 重新加载 nginx -t // 检查配置文件的正确性 nginx -v // 查看Nginx版 阅读全文
posted @ 2024-09-10 09:56 Felix_Openmind 阅读(35) 评论(0) 推荐(0)
摘要: EasyPlayer.vue <template> <div> <div class="easy-player" > <div class="ant-modal-mask"></div> <div class="modal-content"> <div class="box-title" :titl 阅读全文
posted @ 2024-08-17 16:13 Felix_Openmind 阅读(855) 评论(0) 推荐(0)
摘要: 在采用面向对象思想编程时,如果在类里面定义了一个事件调用函数,那么该函数执行时候,他里面的this指向就变成了绑定事件的dom对象。而不是原先new 出来的对象。所以需要在函数调用时候.bind(this)把当前的this绑定给函数内部,防止this指向改变。 https://developer.m 阅读全文
posted @ 2024-08-11 06:09 Felix_Openmind 阅读(96) 评论(0) 推荐(0)
摘要: <div class="my-task-body-inner" ref="scrollContainer" @scroll="handleScroll" style="height: 100%;overflow-y: auto;"> </div> const scrollContainer = re 阅读全文
posted @ 2024-08-07 10:30 Felix_Openmind 阅读(422) 评论(0) 推荐(0)
摘要: 无论是点击勾选框还是点击树中的title名称 选中逻辑同步 <a-tree checkable selectable v-model:tree-data="treeData" v-model:selectedKeys="selectedKeys" v-model:checkedKeys="check 阅读全文
posted @ 2024-08-06 20:35 Felix_Openmind 阅读(332) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 48 下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}