初始上传
This commit is contained in:
14
addon/cashier/source/os/common/js/pos.js
Executable file
14
addon/cashier/source/os/common/js/pos.js
Executable file
@@ -0,0 +1,14 @@
|
||||
// import { ipcRenderer } from 'electron';
|
||||
export default {
|
||||
send(call, param) {
|
||||
if (window.ipcRenderer != undefined) {
|
||||
window.ipcRenderer.send(call, param);
|
||||
}
|
||||
if (window.POS_ != undefined) {
|
||||
window.POS_.send(call, param);
|
||||
}
|
||||
//window.ipcRenderer.send('Print', '渲染进程')
|
||||
//window.ipcRenderer.invoke('Print', '渲染进程')
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user