zdg #144

Merged
zhengdegang merged 24 commits from zdg into main 2024-08-16 13:42:41 +08:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 1dce3f6f70 - Show all commits

View File

@ -87,10 +87,10 @@ export function ipcHandle(fn,key, cb) {
let wins_tool = null
let winPdf=null
export const createWindow = async (type, data) => {
if (wins_tool) return console.error('createWindow: win is have')
if (!type) return console.error('createWindow: type is null')
switch(type) {
case 'tool-sphere': { // 创建-悬浮球
if (wins_tool) return console.error('createWindow: win is have')
if (!type) return console.error('createWindow: type is null')
const option = data.option||{}
const defOption = {
frame: false, // 要创建无边框窗口