Explorar o código

增加自动更新功能,修改移动窗时窗口会增大的bug

wanglaoye hai 1 ano
pai
achega
d42520e3b5

+ 6 - 0
log/2023-6-27.log

@@ -11,3 +11,9 @@
 [2023-06-27 11:26:52.976] [info]  76:undefined
 [2023-06-27 11:26:54.075] [info]  82:[object Object]
 [2023-06-27 11:48:56.272] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-27 17:17:05.102] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-27 17:17:06.228] [info]  76:undefined
+[2023-06-27 17:17:07.592] [info]  82:[object Object]
+[2023-06-27 17:22:33.867] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-27 17:22:35.050] [info]  76:undefined
+[2023-06-27 17:22:36.130] [info]  82:[object Object]

+ 107 - 0
log/2023-6-28.log

@@ -0,0 +1,107 @@
+[2023-06-28 09:52:59.650] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 09:53:00.834] [info]  76:undefined
+[2023-06-28 09:53:02.256] [info]  82:[object Object]
+[2023-06-28 10:01:04.692] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:01:10.568] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:01:11.620] [info]  76:undefined
+[2023-06-28 10:01:12.727] [info]  82:[object Object]
+[2023-06-28 10:07:56.777] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:07:57.881] [info]  76:undefined
+[2023-06-28 10:07:59.318] [info]  82:[object Object]
+[2023-06-28 10:09:02.913] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:09:03.935] [info]  76:undefined
+[2023-06-28 10:09:05.024] [info]  82:[object Object]
+[2023-06-28 10:09:31.007] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:09:31.696] [info]  76:undefined
+[2023-06-28 10:09:32.796] [info]  82:[object Object]
+[2023-06-28 10:09:47.732] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:09:48.421] [info]  76:undefined
+[2023-06-28 10:09:49.521] [info]  82:[object Object]
+[2023-06-28 10:11:07.839] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:11:08.526] [info]  76:undefined
+[2023-06-28 10:11:09.737] [info]  82:[object Object]
+[2023-06-28 10:16:11.464] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:16:12.137] [info]  76:undefined
+[2023-06-28 10:16:13.245] [info]  82:[object Object]
+[2023-06-28 10:17:11.630] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:17:12.329] [info]  76:undefined
+[2023-06-28 10:17:13.420] [info]  82:[object Object]
+[2023-06-28 10:19:14.375] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:19:15.209] [info]  76:undefined
+[2023-06-28 10:19:16.336] [info]  82:[object Object]
+[2023-06-28 10:21:02.540] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:21:07.012] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:21:07.912] [info]  76:undefined
+[2023-06-28 10:21:09.042] [info]  82:[object Object]
+[2023-06-28 10:21:18.598] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:21:19.477] [info]  76:undefined
+[2023-06-28 10:21:20.582] [info]  82:[object Object]
+[2023-06-28 10:21:27.268] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:21:28.047] [info]  76:undefined
+[2023-06-28 10:21:29.147] [info]  82:[object Object]
+[2023-06-28 10:22:39.392] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:22:40.221] [info]  76:undefined
+[2023-06-28 10:22:44.899] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:22:45.619] [info]  76:undefined
+[2023-06-28 10:22:46.810] [info]  82:[object Object]
+[2023-06-28 10:23:54.761] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:23:55.480] [info]  76:undefined
+[2023-06-28 10:23:56.601] [info]  82:[object Object]
+[2023-06-28 10:25:35.451] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:25:36.155] [info]  76:undefined
+[2023-06-28 10:25:37.314] [info]  82:[object Object]
+[2023-06-28 10:25:47.414] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:25:48.093] [info]  76:undefined
+[2023-06-28 10:25:49.301] [info]  82:[object Object]
+[2023-06-28 10:40:23.191] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:40:24.012] [info]  76:undefined
+[2023-06-28 10:40:25.211] [info]  82:[object Object]
+[2023-06-28 10:43:01.244] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:43:02.041] [info]  76:undefined
+[2023-06-28 10:43:03.170] [info]  82:[object Object]
+[2023-06-28 10:44:21.675] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:44:22.362] [info]  76:undefined
+[2023-06-28 10:44:23.480] [info]  82:[object Object]
+[2023-06-28 10:44:45.497] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:44:46.343] [info]  76:undefined
+[2023-06-28 10:44:47.452] [info]  82:[object Object]
+[2023-06-28 10:45:27.126] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:45:27.924] [info]  76:undefined
+[2023-06-28 10:45:29.052] [info]  82:[object Object]
+[2023-06-28 10:51:08.880] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:51:09.673] [info]  76:undefined
+[2023-06-28 10:51:10.798] [info]  82:[object Object]
+[2023-06-28 10:51:38.200] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:51:38.946] [info]  76:undefined
+[2023-06-28 10:51:40.071] [info]  82:[object Object]
+[2023-06-28 10:51:54.728] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:51:55.476] [info]  76:undefined
+[2023-06-28 10:51:56.601] [info]  82:[object Object]
+[2023-06-28 10:52:38.896] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:52:43.654] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:52:44.403] [info]  76:undefined
+[2023-06-28 10:52:45.529] [info]  82:[object Object]
+[2023-06-28 10:52:57.429] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:52:58.177] [info]  76:undefined
+[2023-06-28 10:52:59.276] [info]  82:[object Object]
+[2023-06-28 10:53:23.275] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:53:24.059] [info]  76:undefined
+[2023-06-28 10:53:25.156] [info]  82:[object Object]
+[2023-06-28 10:54:41.153] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:54:41.976] [info]  76:undefined
+[2023-06-28 10:54:43.079] [info]  82:[object Object]
+[2023-06-28 10:55:21.604] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:55:22.382] [info]  76:undefined
+[2023-06-28 10:55:23.481] [info]  82:[object Object]
+[2023-06-28 10:56:48.196] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:56:48.997] [info]  76:undefined
+[2023-06-28 10:56:50.089] [info]  82:[object Object]
+[2023-06-28 10:57:13.458] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 10:57:14.243] [info]  76:undefined
+[2023-06-28 10:57:15.334] [info]  82:[object Object]
+[2023-06-28 11:09:51.071] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 11:09:51.867] [info]  76:undefined
+[2023-06-28 11:09:52.989] [info]  82:[object Object]
+[2023-06-28 12:47:39.740] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-28 12:47:40.492] [info]  76:undefined
+[2023-06-28 12:47:41.697] [info]  82:[object Object]

+ 38 - 0
log/2023-6-29.log

@@ -0,0 +1,38 @@
+[2023-06-29 13:20:09.326] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 13:47:53.642] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 13:47:54.461] [info]  76:undefined
+[2023-06-29 13:47:55.861] [info]  82:[object Object]
+[2023-06-29 13:53:07.668] [info]  76:undefined
+[2023-06-29 13:53:07.722] [info]  82:[object Object]
+[2023-06-29 13:54:34.961] [info]  76:undefined
+[2023-06-29 13:54:35.013] [info]  82:[object Object]
+[2023-06-29 14:17:25.644] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:17:26.566] [info]  76:undefined
+[2023-06-29 14:17:27.677] [info]  82:[object Object]
+[2023-06-29 14:20:37.722] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:20:38.716] [info]  76:undefined
+[2023-06-29 14:20:39.802] [info]  82:[object Object]
+[2023-06-29 14:20:45.571] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:20:46.380] [info]  76:undefined
+[2023-06-29 14:20:47.459] [info]  82:[object Object]
+[2023-06-29 14:21:07.268] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:21:08.292] [info]  76:undefined
+[2023-06-29 14:21:09.376] [info]  82:[object Object]
+[2023-06-29 14:25:20.153] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:25:21.063] [info]  76:undefined
+[2023-06-29 14:25:22.151] [info]  82:[object Object]
+[2023-06-29 14:27:16.786] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 14:27:17.621] [info]  76:undefined
+[2023-06-29 14:27:18.839] [info]  82:[object Object]
+[2023-06-29 15:24:10.900] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 15:24:11.755] [info]  76:undefined
+[2023-06-29 15:24:13.206] [info]  82:[object Object]
+[2023-06-29 16:21:11.131] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 16:21:12.017] [info]  76:undefined
+[2023-06-29 16:21:13.241] [info]  82:[object Object]
+[2023-06-29 16:21:24.171] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 16:21:24.894] [info]  76:undefined
+[2023-06-29 16:21:25.997] [info]  82:[object Object]
+[2023-06-29 16:59:53.207] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-29 16:59:53.999] [info]  76:undefined
+[2023-06-29 16:59:55.781] [info]  82:[object Object]

+ 152 - 0
log/2023-6-30.log

@@ -0,0 +1,152 @@
+[2023-06-30 09:28:43.056] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 09:28:47.670] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 09:28:48.470] [info]  76:undefined
+[2023-06-30 09:28:49.919] [info]  82:[object Object]
+[2023-06-30 09:30:37.353] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 09:30:38.261] [info]  76:undefined
+[2023-06-30 09:30:39.369] [info]  82:[object Object]
+[2023-06-30 09:53:28.545] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 09:53:29.356] [info]  76:undefined
+[2023-06-30 09:53:30.478] [info]  82:[object Object]
+[2023-06-30 09:56:26.444] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 09:56:27.142] [info]  76:undefined
+[2023-06-30 09:56:28.257] [info]  82:[object Object]
+[2023-06-30 10:18:23.667] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:18:28.275] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:18:29.034] [info]  76:undefined
+[2023-06-30 10:18:30.149] [info]  82:[object Object]
+[2023-06-30 10:19:28.675] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:19:29.697] [info]  76:undefined
+[2023-06-30 10:19:30.810] [info]  82:[object Object]
+[2023-06-30 10:21:15.025] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:21:15.812] [info]  76:undefined
+[2023-06-30 10:21:16.921] [info]  82:[object Object]
+[2023-06-30 10:25:15.240] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:25:16.014] [info]  76:undefined
+[2023-06-30 10:25:17.111] [info]  82:[object Object]
+[2023-06-30 10:25:37.407] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:25:38.227] [info]  76:undefined
+[2023-06-30 10:25:39.327] [info]  82:[object Object]
+[2023-06-30 10:26:06.570] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:26:07.352] [info]  76:undefined
+[2023-06-30 10:26:08.583] [info]  82:[object Object]
+[2023-06-30 10:29:13.032] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:29:13.942] [info]  76:undefined
+[2023-06-30 10:29:15.351] [info]  82:[object Object]
+[2023-06-30 10:29:42.969] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:29:43.876] [info]  76:undefined
+[2023-06-30 10:29:44.968] [info]  82:[object Object]
+[2023-06-30 10:30:21.007] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:30:21.996] [info]  76:undefined
+[2023-06-30 10:30:24.096] [info]  82:[object Object]
+[2023-06-30 10:32:14.246] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:32:15.161] [info]  76:undefined
+[2023-06-30 10:32:16.302] [info]  82:[object Object]
+[2023-06-30 10:32:35.796] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:32:36.618] [info]  76:undefined
+[2023-06-30 10:32:37.793] [info]  82:[object Object]
+[2023-06-30 10:33:32.133] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:33:32.937] [info]  76:undefined
+[2023-06-30 10:33:34.142] [info]  82:[object Object]
+[2023-06-30 10:34:00.615] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:34:01.453] [info]  76:undefined
+[2023-06-30 10:34:02.536] [info]  82:[object Object]
+[2023-06-30 10:34:09.067] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:34:09.939] [info]  76:undefined
+[2023-06-30 10:34:11.089] [info]  82:[object Object]
+[2023-06-30 10:34:17.030] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:34:17.770] [info]  76:undefined
+[2023-06-30 10:34:18.860] [info]  82:[object Object]
+[2023-06-30 10:36:53.404] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:36:54.469] [info]  76:undefined
+[2023-06-30 10:36:55.678] [info]  82:[object Object]
+[2023-06-30 10:42:40.630] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:42:41.523] [info]  76:undefined
+[2023-06-30 10:42:42.632] [info]  82:[object Object]
+[2023-06-30 10:50:02.120] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:50:02.935] [info]  76:undefined
+[2023-06-30 10:50:04.051] [info]  82:[object Object]
+[2023-06-30 10:50:18.221] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:50:19.037] [info]  76:undefined
+[2023-06-30 10:50:20.138] [info]  82:[object Object]
+[2023-06-30 10:58:47.205] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 10:58:48.047] [info]  76:undefined
+[2023-06-30 10:58:49.156] [info]  82:[object Object]
+[2023-06-30 11:08:02.276] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:08:03.266] [info]  76:undefined
+[2023-06-30 11:08:04.395] [info]  82:[object Object]
+[2023-06-30 11:10:24.840] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:10:25.824] [info]  76:undefined
+[2023-06-30 11:10:26.953] [info]  82:[object Object]
+[2023-06-30 11:23:40.563] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:23:41.374] [info]  76:undefined
+[2023-06-30 11:23:42.599] [info]  82:[object Object]
+[2023-06-30 11:24:36.001] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:24:36.917] [info]  76:undefined
+[2023-06-30 11:24:38.018] [info]  82:[object Object]
+[2023-06-30 11:24:58.161] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:24:59.179] [info]  76:undefined
+[2023-06-30 11:25:00.264] [info]  82:[object Object]
+[2023-06-30 11:36:08.452] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:36:09.393] [info]  76:undefined
+[2023-06-30 11:36:10.510] [info]  82:[object Object]
+[2023-06-30 11:40:40.719] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:40:41.774] [info]  76:undefined
+[2023-06-30 11:40:42.890] [info]  82:[object Object]
+[2023-06-30 11:41:22.590] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:41:23.483] [info]  76:undefined
+[2023-06-30 11:41:24.701] [info]  82:[object Object]
+[2023-06-30 11:41:47.089] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:41:48.080] [info]  76:undefined
+[2023-06-30 11:41:49.175] [info]  82:[object Object]
+[2023-06-30 11:42:09.183] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:42:10.085] [info]  76:undefined
+[2023-06-30 11:42:11.184] [info]  82:[object Object]
+[2023-06-30 11:45:45.619] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:45:46.446] [info]  76:undefined
+[2023-06-30 11:45:47.535] [info]  82:[object Object]
+[2023-06-30 11:49:42.912] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:49:43.971] [info]  76:undefined
+[2023-06-30 11:49:45.076] [info]  82:[object Object]
+[2023-06-30 11:50:37.129] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:50:37.993] [info]  76:undefined
+[2023-06-30 11:50:39.109] [info]  82:[object Object]
+[2023-06-30 11:52:32.607] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:52:33.599] [info]  76:undefined
+[2023-06-30 11:52:34.722] [info]  82:[object Object]
+[2023-06-30 11:55:20.349] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:55:21.236] [info]  76:undefined
+[2023-06-30 11:55:22.465] [info]  82:[object Object]
+[2023-06-30 11:57:21.397] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:57:22.337] [info]  76:undefined
+[2023-06-30 11:57:23.490] [info]  82:[object Object]
+[2023-06-30 11:59:58.279] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 11:59:59.109] [info]  76:undefined
+[2023-06-30 12:00:00.259] [info]  82:[object Object]
+[2023-06-30 12:31:46.050] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 12:31:46.892] [info]  76:undefined
+[2023-06-30 12:31:48.017] [info]  82:[object Object]
+[2023-06-30 12:32:05.815] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 12:32:06.607] [info]  76:undefined
+[2023-06-30 12:32:07.732] [info]  82:[object Object]
+[2023-06-30 12:33:16.899] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 12:33:17.789] [info]  76:undefined
+[2023-06-30 12:33:18.896] [info]  82:[object Object]
+[2023-06-30 12:36:31.534] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 12:36:32.411] [info]  76:undefined
+[2023-06-30 12:36:33.632] [info]  82:[object Object]
+[2023-06-30 12:50:09.875] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 12:50:10.815] [info]  76:undefined
+[2023-06-30 12:50:11.924] [info]  82:[object Object]
+[2023-06-30 13:35:25.994] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 13:35:26.908] [info]  76:undefined
+[2023-06-30 13:35:28.116] [info]  82:[object Object]
+[2023-06-30 13:56:45.982] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 13:56:46.786] [info]  76:undefined
+[2023-06-30 13:56:47.897] [info]  82:[object Object]
+[2023-06-30 13:57:16.267] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 13:57:17.119] [info]  76:undefined
+[2023-06-30 13:57:18.237] [info]  82:[object Object]
+[2023-06-30 15:17:14.508] [info]  38:D:\web\product\electron\doctor-electron\dist\electron
+[2023-06-30 15:17:15.514] [info]  76:undefined
+[2023-06-30 15:17:16.636] [info]  82:[object Object]

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "xklr",
-  "version": "1.1.0",
+  "version": "1.2.1",
   "private": false,
   "author": "wly",
   "scripts": {

+ 20 - 12
src/main/main.js

@@ -1,13 +1,18 @@
 import { app, shell, BrowserWindow, protocol, globalShortcut, ipcMain } from 'electron'
+import { LOAD_URL, ACHEME } from './config'
+import { createProtocol } from "vue-cli-plugin-electron-builder/lib";
 import path from 'path'
-// import createBallWindow from './windows/createballwindow'
-import tray from './windows/tray'
+
 import appEvent from './appEvent'
 import mainWinEvent from './mainWin'
-import { LOAD_URL, ACHEME } from './config'
+
+
 import createSettingWindow from './windows/settingwin'
-import { createProtocol } from "vue-cli-plugin-electron-builder/lib";
+import createIndexwin from './windows/index'
 import checkUpdate from './windows/updater'
+import tray from './windows/tray'
+
+
 const isdev = process.env.NODE_ENV == "development"
 protocol.registerSchemesAsPrivileged([
   {
@@ -22,21 +27,21 @@ if (!isdev) {
   global.__img = path.join(__dirname, "./img");
   global.__images = path.join(__dirname, "./images");
 }
-
+const iconSrc = __static + "/images/icon.ico";
 let mainWindow = null
 async function createWindow() {
   // Create the browser window.
   const mainWindow = new BrowserWindow({
     width: 132, //悬浮窗口的宽度 比实际DIV的宽度要多2px 因为有1px的边框
     height: 80, //悬浮窗口的高度 比实际DIV的高度要多2px 因为有1px的边框
-    type: 'toolbar',
     frame: false,
-    resizable: false,
+    resizable: isdev,
     show: true,
-    skipTaskbar: true,
-    autoHideMenuBar: false,
+    icon: iconSrc,
+    skipTaskbar: false, // 任务栏中不显示窗口
+    autoHideMenuBar: false,// 任务栏中不显示窗口
     transparent: true, //设置透明
-    hasShadow: false, //不显示阴影
+    hasShadow: process.platform !== "darwin", //不显示阴影
     alwaysOnTop: true, //窗口是否总是显示在其他窗口之前\
     // backgroundColor: 'transparent',
     // ...(process.platform === 'linux' ? { icon: path.join(app.getAppPath(), '/src/renderer/assets/logo.png') } : {}),
@@ -64,11 +69,11 @@ async function createWindow() {
   })
   if (process.env.WEBPACK_DEV_SERVER_URL) {
     // Load the url of the dev server if in development mode
-    await mainWindow.loadURL(process.env.WEBPACK_DEV_SERVER_URL + '#/home');
+    await mainWindow.loadURL(process.env.WEBPACK_DEV_SERVER_URL + '#/ball');
     if (!process.env.IS_TEST) mainWindow.webContents.openDevTools();
   } else {
     createProtocol(ACHEME);
-    mainWindow.loadURL(LOAD_URL + '/#/home');
+    mainWindow.loadURL(LOAD_URL + '/#/ball');
     // mainWindow.loadURL(`file://${__dirname}/app/index.html`);
 
   }
@@ -144,6 +149,9 @@ app.whenReady().then(async () => {
       setThumbarButtons(mainWindow, playing);
     }
   });
+  await createIndexwin(BrowserWindow)
+
+
   //任务托盘
   tray({ type: 'new' });
   //app

+ 3 - 5
src/main/mainWin.js

@@ -3,16 +3,14 @@ import tray from './windows/tray'
 export default function mainWinEvent(mw) {
 
   //设置悬浮球位置
-  const { left, top } = { left: screen.getPrimaryDisplay().workAreaSize.width - 400, top: 160 }
+  const { left, top } = { left: screen.getPrimaryDisplay().workAreaSize.width - 400, top: 260 }
   mw.setPosition(left, top)
   
   //改变窗口大小
-  ipcMain.handle('setsize', async (event, option) => {  //大小
+  ipcMain.on('setsize', async (event, option) => {  //大小
     mw.setMaximumSize(option.width, option.height);
     mw.setMinimumSize(option.width, option.height);
-    mw.setSize(option.width, option.height, true)
-    mw.webContents.send("getsize",option.height);
-    return true
+    mw.setSize(option.width, option.height)
   })
   //移动窗口
   ipcMain.on('move-application', (event, option) => { //移动

+ 96 - 0
src/main/windows/index.js

@@ -0,0 +1,96 @@
+import { LOAD_URL } from "./../config";
+import { app, Menu, ipcMain, screen } from 'electron'
+
+const isdev = process.env.NODE_ENV == "development"
+const loadURL = isdev
+    ? `${process.env.WEBPACK_DEV_SERVER_URL}#/home/login`
+    : `${LOAD_URL}#home/login`;
+
+const iconSrc = __static + "/images/icon.ico";
+// console.log(loadURL)
+let indexwin = null;
+const createIndexwin = function (BrowserWindow) {
+    if (indexwin !== null) {
+        return false
+    }
+    let obj = {
+        title: '星空路人',
+        icon: iconSrc,
+        height: 423,
+        width: 310,
+        show: false,
+        titleBarStyle: "hiddenInset",
+        frame: false,
+        fullscreenable: false,
+        minimizable: false,
+        maximizable: false,
+        transparent: true,
+        skipTaskbar: true, // 任务栏中不显示窗口
+        autoHideMenuBar: false,
+        enableLargerThanScreen: false,
+        resizable: true,
+        // closable: false,
+        hasShadow: process.platform !== "darwin",
+        alwaysOnTop: true,
+        webPreferences: {
+            devTools: false,//isdev
+            contextIsolation: false,
+            sandbox: false,
+            nodeIntegration: true,
+            enableRemoteModule: true,
+        }
+    };
+    Menu.setApplicationMenu(null)
+    indexwin = new BrowserWindow(obj);
+    // console.log(45, loadURL)
+
+    //设置位置
+    const { left, top } = { left: screen.getPrimaryDisplay().workAreaSize.width - 400, top: 340 }
+    indexwin.setPosition(left, top)
+    // //移动窗口
+    let sizeobj= indexwin.getContentBounds(),ifclick=false
+    ipcMain.on('move-application1', (event, option) => { //移动
+        ifclick=false
+        indexwin.setSize(sizeobj.width, sizeobj.height);
+        // indexwin.setMaximumSize(sizeobj.width, sizeobj.height);
+        // indexwin.setMinimumSize(size.width, size.height);
+        indexwin && indexwin.setPosition(option.posX, option.posY)
+    })
+    ipcMain.on('isclick', (event, option) => { 
+        ifclick=option
+        indexwin.webContents.send('isclick',option)
+    })
+    
+    indexwin.loadURL(loadURL);
+    if (process.env.WEBPACK_DEV_SERVER_URL) {
+        indexwin.webContents.openDevTools();
+    }
+    ipcMain.on("index-size", (e,o) => {
+        indexwin.setSize(o.width, o.height);
+    });
+    // console.log(window)
+    
+    ipcMain.on("index-box", (e,o) => {
+        if(ifclick){
+            // console.log(e,o)
+            sizeobj = o
+        }
+    });
+    ipcMain.on("index-show", () => {
+        indexwin.show()
+    });
+    ipcMain.on("index-hide", () => {
+        indexwin.hide()
+    });
+    indexwin.on("close", () => {
+        indexwin = null;
+    });
+    ipcMain.on("window-reset", () => {
+        if (!isdev) {
+            app.relaunch()
+            app.exit()
+        }
+    });
+    // return settingWindow;
+};
+export default createIndexwin;

+ 1 - 1
src/main/windows/settingwin.js

@@ -34,7 +34,7 @@ const createSettingWindow = function (BrowserWindow) {
         hasShadow: process.platform !== "darwin",
         alwaysOnTop: true,
         webPreferences: {
-            devTools: isdev,
+            devTools: false,//isdev
             contextIsolation: false,
             sandbox: false,
             nodeIntegration: true,

+ 1 - 1
src/main/windows/updater.js

@@ -42,7 +42,7 @@ export default function checkUpdate() {
                 hasShadow: process.platform !== "darwin",
                 alwaysOnTop: true,
                 webPreferences: {
-                    devTools: isdev,
+                    devTools: false,//isdev
                     contextIsolation: false,
                     sandbox: false,
                     nodeIntegration: true,

+ 2 - 2
src/renderer/App.vue

@@ -85,8 +85,8 @@ body {
 }
 
 .pagecontent {
-  height: 410px;
-  width: 300px;
+  height: calc(100vh - 10px);
+  width: calc(100vw - 10px);;
   background: #fff;
   border-radius: 6px;
   margin: 0 5px 5px 5px;

+ 48 - 40
src/renderer/components/ball/index.vue

@@ -1,11 +1,14 @@
 <template>
   <div class="ballbox" id="ballbox">
-    <div :class="['box1 cursor-pointer', class1]" @dblclick="showblock1" style="padding: 12.5px 12px;">
-      <div :class="['ball', 'ballhover', 'position-relative']" @click="goMainPage" @mouseover="aminhover()"
-        @mouseleave="aminleave()">
+    <!-- <div class="cursor-pointer"
+      style="width: 100vw;height:100vh;background-color: transparent;position: absolute;left: 0;right: 0;z-index: 0;-webkit-app-region: drag;">
+    </div> -->
+    <div :class="['box1 cursor-pointer', class1]" @dblclick="showblock1" style="padding: 12.5px 12px;z-index: 999;">
+      <div :class="['ball', 'ballhover', 'position-relative']" @click="goMainPage">
+        <!-- -->
         <div class="amin" v-for="(item, index) in aminstyle" :key="index" :style="{ ...item }">
         </div>
-        <div class="px-1" style="z-index: 9;" v-if="userinfo.id">
+        <div class="px-1" style="z-index: 9;-webkit-app-region: no-drag;" v-if="userinfo.id">
           <div class="centerd">
             <div class="text-center w-50 text-error wsf" style="font-size: 10px;line-height:1;">{{ patientnum.isNotSend }}
               <div class="position-absolute wsfh centerd">
@@ -36,28 +39,28 @@
             </div>
           </div>
         </div>
-        <div class="px-1" style="z-index: 9;" v-if="!userinfo.id">
+        <div class="px-1" style="z-index: 9;-webkit-app-region: no-drag;" v-if="!userinfo.id">
           <div>xklr</div>
           <div class="fs-10">医生端</div>
         </div>
       </div>
-      <div :class="['balln', 'ballnhover']">
-        <div class="ballnc text-center">
-          <div class="text-view1" style="font-size: 10px;border-bottom: 1px solid #ddd;padding-bottom: 2px;">
-            {{ userinfo.username ? userinfo.username.split('-')[0] : "未登录" }}
-          </div>
-          <div style="margin-top: 0px;font-size: 10px;">
-            {{ userinfo.username ? userinfo.username.split('-')[1] : "科室" }}
-          </div>
+      <div :class="['balln', 'ballnhover', 'ballnc', ' text-center']">
+        <div class="text-view1"
+          style="z-index: 9; -webkit-app-region: no-drag;font-size: 10px;border-bottom: 1px solid #ddd;padding-bottom: 2px;">
+          {{ userinfo.username ? userinfo.username.split('-')[0] : "未登录" }}
+        </div>
+        <div style="z-index: 9;-webkit-app-region: no-drag;margin-top: 0px;font-size: 10px;">
+          {{ userinfo.username ? userinfo.username.split('-')[1] : "科室" }}
         </div>
       </div>
     </div>
+
   </div>
 </template>
 <script>
 import { mapGetters } from 'vuex';
 import { ipcRenderer } from "electron";
-
+import { throttle } from 'lodash';
 export default {
   name: "Ball",
   data() {
@@ -85,35 +88,31 @@ export default {
     }),
   },
   mounted() {
+    ipcRenderer.on('index-box1', (event, data) => {
+      console.log(59, data)
+    })
     this.move()
   },
   methods: {
-    aminhover() {
-      // console.log(1)
-    },
-    aminleave() {
-      // console.log(1)
-    },
     getMathRandom(max, min) {
       let num = (Math.random() * (max - min) + min).toFixed(2);
       return num
     },
     showblock1() {
-      if (this.isDown) {
-        return
-      }
       let t = this
       t.showblock = !t.showblock
       if (t.showblock) {
-        t.setwindowsize(310, 500).then((res) => {
-          if (res) {
-            if (window.location.hash == '#/home') {
-              t.$router.push('/home/login')
-            }
-          }
-        })
+        ipcRenderer.send('index-show')
+        // t.setwindowsize(310, 500).then((res) => {
+        //   if (res) {
+        //     if (window.location.hash == '#/home') {
+        //       t.$router.push('/home/login')
+        //     }
+        //   }
+        // })
       } else {
-        this.setwindowsize(132, 80)
+        ipcRenderer.send('index-hide')
+        // this.setwindowsize(132, 80)
         // this.$router.push('/home')
       }
     },
@@ -130,17 +129,25 @@ export default {
         t.isDown = true
         t.baseX = e.x
         t.baseY = e.y
-        this.setwindowsize(132, 80)
-        if (e.pageX < 115 && e.pageY < 70) t.class1 = 'opacity7'
+        t.setwindowsize(132, 80)
+        ipcRenderer.send('isclick',false)
+        t.class1 = 'opacity7'
       })
       doc.addEventListener('mousemove', function (e) {
+        t.setwindowsize(132, 80)
         if (t.class1 == 'opacity7' && t.isDown) {
           let x = e.screenX - t.baseX
           let y = e.screenY - t.baseY
+          
+          // ipcRenderer.send('index-box')
           ipcRenderer.send('move-application', {
             posX: x,
             posY: y
           })
+          ipcRenderer.send('move-application1', {
+            posX: x + 5,
+            posY: y + 85
+          })
         }
       })
       doc.addEventListener("mouseleave", function (e) {
@@ -148,12 +155,13 @@ export default {
         t.class1 = ''
       })
       doc.addEventListener('mouseup', function (e) {
+        ipcRenderer.send('isclick',true)
         t.isDown = false
         t.class1 = ''
       })
     },
     setwindowsize(width, height) {
-      return ipcRenderer.invoke('setsize', {
+      return ipcRenderer.send('setsize', {
         width,
         height
       })
@@ -181,9 +189,7 @@ body {
 }
 
 .ballbox {
-  overflow: hidden;
-  width: 100%;
-
+  width: 132px;
   .box1 {
     display: flex;
     align-items: center;
@@ -249,9 +255,11 @@ body {
   border-bottom-right-radius: 40px;
   line-height: 1.3;
 
-  .ballnc {
-    padding: 4px 8px 3px 18px;
-  }
+
+}
+
+.ballnc {
+  padding: 4px 8px 3px 18px;
 }
 
 .ball {

+ 37 - 16
src/renderer/pages/home/index.vue

@@ -1,34 +1,55 @@
 <template>
   <div class="">
-    <Ball />
-    <div style="margin-top:5px" v-if="height > 80">
-      <router-view />
-    </div>
+    <router-view />
   </div>
 </template>
 
 <script>
-import { ipcRenderer } from 'electron'
-import Ball from '../../components/ball/index.vue'
+import { ipcRenderer } from "electron";
 export default {
   name: 'Home',
-  components: { Ball },
   data() {
     return {
-      height: 133
+      windowHeight: document.body.clientHeight,
+      windowWidth: document.body.clientWidth,
+      isclick:false
     }
   },
+  watch: {
+    // 监听页面高度
+    windowHeight(val) {
+      // console.log('实时屏幕高度:', val, this.windowHeight)
+    },
+    // 监听页面宽度
+    windowWidth(val) {
+      // console.log('实时屏幕宽度:', val, this.windowWidth)
+    }
+
+  },
   created() {
-    this.getsize()
+    let t=this
+    ipcRenderer.on('isclick', (e,o)=>{
+      console.log(o)
+      t.isclick=o
+    })
+    let windowSize = localStorage.getItem('windowSize') ? JSON.parse(localStorage.getItem('windowSize')) : {}
+    this.windowWidth = windowSize.width ||document.body.clientWidth;
+    this.windowHeight = windowSize.height || document.body.clientHeight;
+    ipcRenderer.send('index-size', { width: this.windowWidth, height: this.windowHeight })
   },
-  methods: {
-    getsize() {
-      let t = this
-      ipcRenderer.on("getsize", (event, message) => {
-        t.height = message
-        // console.log("是否监听到", event, message);
-      });
+  mounted() {
+    window.onresize = () => {
+      return (() => {
+        this.windowHeight = document.documentElement.clientHeight // 高
+        this.windowWidth = document.documentElement.clientWidth // 宽
+        if(this.isclick){
+          localStorage.setItem('windowSize',JSON.stringify({ width: this.windowWidth, height: this.windowHeight }))
+        }
+        ipcRenderer.send('index-box', { width: this.windowWidth, height: this.windowHeight })
+      })()
     }
+  },
+  methods: {
   }
 }
 </script>

+ 5 - 6
src/renderer/pages/patientdetail/index.vue

@@ -11,7 +11,7 @@
         </div>
       </div>
     </div>
-    <el-scrollbar class="listenscroll" style="height: calc(100vh - 30px);overflow-y: auto; overflow-x: hidden;">
+    <el-scrollbar class="listenscroll" style="height: calc(100vh );overflow-y: auto; overflow-x: hidden;">
       <div class="content mx-2">
         <div v-if="1">
           <div>
@@ -97,15 +97,14 @@ export default {
 }
 </script>
 <style lang="less" scoped>
-.content {
-  height: calc(100vh -8px);
-  border-radius: 5px;
-}
+// .content {
+//   height: calc(100vh -8px);
+//   border-radius: 5px;
+// }
 
 .listbox {
   background-color: #fff;
   padding: 5px;
-
 }
 
 .healthclass {

+ 2 - 1
src/renderer/pages/patientdetail/model/view.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="mys" style="margin-bottom: 90px;" v-if="i " >
+  <div class="mys" style="" v-if="i " >
     <div class="mx-1 mb-5 position-relative" v-if="propData.patient">
       <div class="centerY">
         <div class="bule_line"></div>
@@ -422,6 +422,7 @@
 </template>
 
 <script>
+
 import conf from '@/config/index'
 import { getAge, timeTrans } from '@/utils/common'
 import * as echarts from 'echarts';

+ 1 - 1
src/renderer/pages/patientlist/index.vue

@@ -9,7 +9,7 @@
         查询
       </el-button>
     </div>
-    <div class="listenscroll" style="height: calc(100vh - 130px);overflow-y: auto; width: 100%;overflow-x: hidden;">
+    <div class="listenscroll" style="height: calc(100vh - 50px);overflow-y: auto; width: 100%;overflow-x: hidden;">
       <div class=" mx-2">
         <el-card class=" w-100 mb-1" v-if="dataArray.length" :body-style="{ padding: '2px 5px', borderRadius: '20px' }">
           <div class="cursor-pointer" v-for="item, index in dataArray" :key="index" @click="navto(item)">

+ 7 - 0
src/renderer/router/index.js

@@ -39,6 +39,13 @@ let routes = [
     ]
   },
   {
+    path: '/ball',
+    name: 'Ball',
+    component: function (resolve) {
+      require(["@/pages/ball/index.vue"], resolve);
+    },
+  },
+  {
     path: '/settingwin',
     name: 'Settingwin',
     component: function (resolve) {