From c0c3324d9d649932b7e6d01f8bbc3ec9086afe86 Mon Sep 17 00:00:00 2001 From: lyc Date: Fri, 26 Jul 2024 10:43:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/logo.ico | Bin 270398 -> 270398 bytes src/main/index.js | 2 ++ src/renderer/src/views/resource/index.vue | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/logo.ico b/resources/logo.ico index 4c332396f6524ed32670a964a89389834a94f246..774da954e424572f47c1b2f9cbc1414301e95eae 100644 GIT binary patch delta 5141 zcmcgw3v87|7XD|ZUQ4|+mwH7J!3w3^a!ajS5c<0P38*!?F2qWFprWG5uCBqNhGkje zF1Q+~yQsA_g^=CCZZ>99djUIY02_jh79aR(t&hrfU2siM6N8Z$Tfc8+{`=sOr7>=k zN$;HVoyVLxbLPyyr#rHzJF+qH)WVztv9dDntg0e!YSlFFs;Zc`qB7<+S5EgjF?y<| zdjpll-e>rIG?_SCPCLq(p@M5rKvT*{LkqP%H!o+SxMX&*HwEZL;64WAZj6H%!__fw zgrlYe|2gm*n31Yv-9$MHy3Nd>z%?i*L20LDx6umiv;up}#Z2G#a=@*xD)yeh|9*^- zL>yy=H&Tm1O~#J3HD8town!zHD55DvX^cLnt)ALpr$JoAUvrDSE5U8YIAWwAQ5&o! zS+_zKQ8(8>D)kXXG@|=gN;`eN7>^jmz}bLtD9}|?qPrKX7I{J7T84^41`Hv%Q!Wai zYyl`Q&{!P|S&R6*+q|?1ejrBOu-#E1M zeJ+>;0sU#<$&hcDNnff61v!NeL-YZ-kD{2g&^`xz;TTRPlp4n*GE{Pi0{lRf-e5A2 z5ih{c2AtYSCD-}9kJ@j;$V?W%CpzuiFLH^3_FWM~zR7M+;7DAJ9cI>%N-kiX(TWQ1 z40zXN76Y@^=L%?Ls7WQ4D8RQxYi4@mkWugXrPiE@V%;G3frCEf%uh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Eq#@LIe`abY)J3VM__yE=K^WjvNv za}*a}!GvI`;@JauDCkpMHi(#DmBAt05cDfvd>vP%O|9akQS^{i9~u9rzjCmt5q&K` GG3yr|5Vpbq diff --git a/src/main/index.js b/src/main/index.js index 7acd4ca..a93360e 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -18,6 +18,7 @@ function createLoginWindow() { show: false, frame: false, autoHideMenuBar: true, + icon: join(__dirname, '../../resources/logo.ico'), ...(process.platform === 'linux' ? { icon } : {}), webPreferences: { preload: join(__dirname, '../preload/index.js'), @@ -52,6 +53,7 @@ function createMainWindow() { show: false, frame: false, // 无边框 autoHideMenuBar: true, + icon: join(__dirname, '../../resources/logo.ico'), ...(process.platform === 'linux' ? { icon } : {}), webPreferences: { preload: join(__dirname, '../preload/index.js'), diff --git a/src/renderer/src/views/resource/index.vue b/src/renderer/src/views/resource/index.vue index 6720e26..ecae1b5 100644 --- a/src/renderer/src/views/resource/index.vue +++ b/src/renderer/src/views/resource/index.vue @@ -64,8 +64,8 @@ const submitFile = (data) => { let fileList = toRaw(data) const { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot } = sourceStore.query // 给每个文件添加属性 - let fileData = { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot } fileList.forEach(item => { + let fileData = { textbookId, levelFirstId, levelSecondId, fileSource, fileRoot } fileData.fileShowName = item.fileData.fileShowName fileData.fileFlag = item.fileData.fileFlag item.fileData = fileData -- 2.44.0.windows.1