上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 44 下一页
摘要: 之前跳转代码 router.push({ path: '/appDetail', query: {id: appInfo.id}, }) 修改后 window.open(router.resolve({ path: '/appDetail', query: { id: appInfo.id } }) 阅读全文
posted @ 2024-11-05 20:58 Felix_Openmind 阅读(621) 评论(0) 推荐(0)
摘要: 消息需要通过其 WebContents 实例发送到渲染器进程。 main.js const { app, BrowserWindow, Menu, ipcMain } = require('electron/main') const path = require('node:path') funct 阅读全文
posted @ 2024-11-04 18:41 Felix_Openmind 阅读(90) 评论(0) 推荐(0)
摘要: 双向IPC的一个常见应用:从渲染器进程代码调用主进程模块并等待结果 【ipcRenderer.invoke】《 》【ipcMain.handle()】 main.js const { app, BrowserWindow, ipcMain, dialog } = require('electron/ 阅读全文
posted @ 2024-11-04 18:14 Felix_Openmind 阅读(153) 评论(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 阅读(74) 评论(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 阅读(138) 评论(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 阅读(200) 评论(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 阅读(187) 评论(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 阅读(6) 评论(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 阅读(662) 评论(0) 推荐(0)
摘要: 在采用面向对象思想编程时,如果在类里面定义了一个事件调用函数,那么该函数执行时候,他里面的this指向就变成了绑定事件的dom对象。而不是原先new 出来的对象。所以需要在函数调用时候.bind(this)把当前的this绑定给函数内部,防止this指向改变。 https://developer.m 阅读全文
posted @ 2024-08-11 06:09 Felix_Openmind 阅读(69) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 44 下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}