版本更新
This commit is contained in:
parent
e17b12687f
commit
9fb67bd8a2
|
|
@ -11,7 +11,7 @@ VITE_API_PHP_URL = 'https://czgdoumei.sxczgkj.com/index.php/api'
|
||||||
VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api'
|
VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api'
|
||||||
|
|
||||||
# 线上环境接口地址
|
# 线上环境接口地址
|
||||||
# VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client/'
|
VITE_API_URL = 'https://cashierclient.sxczgkj.cn/cashier-client/'
|
||||||
|
|
||||||
# 预发布接口
|
# 预发布接口
|
||||||
VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client/'
|
# VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client/'
|
||||||
15850
dist-electron/main.js
15850
dist-electron/main.js
File diff suppressed because one or more lines are too long
|
|
@ -98,6 +98,8 @@ app.whenReady().then(() => {
|
||||||
// 给渲染进程返回打印机列表
|
// 给渲染进程返回打印机列表
|
||||||
ipcMain.on("getPrintList", () => {
|
ipcMain.on("getPrintList", () => {
|
||||||
win.webContents.getPrintersAsync().then((res) => {
|
win.webContents.getPrintersAsync().then((res) => {
|
||||||
|
console.log("打印机列表", res);
|
||||||
|
|
||||||
win.webContents.send("printList", res);
|
win.webContents.send("printList", res);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "vite-electron",
|
"name": "vite-electron",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.4.21",
|
"version": "1.4.22",
|
||||||
"main": "dist-electron/main.js",
|
"main": "dist-electron/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "chcp 65001 && vite",
|
"dev": "chcp 65001 && vite",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue