zhuhao_dev #210

Merged
zhuhao merged 5 commits from zhuhao_dev into main 2024-09-14 16:01:53 +08:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit a4fa5be295 - Show all commits

View File

@ -1,6 +1,6 @@
{ {
"name": "aix-win", "name": "aix-win",
"version": "1.2.2", "version": "1.2.3",
"description": "An Electron application with Vue", "description": "An Electron application with Vue",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "example.com", "author": "example.com",

View File

@ -224,7 +224,7 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
formData.append(key, uploadData[key]) formData.append(key, uploadData[key])
} }
} }
formData.append('fileFlag', '教案') formData.append('fileFlag', '课件')
uploadFileByFS({ uploadFileByFS({
url: uploadUrl, url: uploadUrl,
path, path,

View File

@ -142,9 +142,9 @@ async function createLinkWin(data) {
.catch((error) => {}) .catch((error) => {})
data.fullPath = data.fullPath.replaceAll('//', '/') data.fullPath = data.fullPath.replaceAll('//', '/')
if (data.fullPath.indexOf('?') !== -1) { if (data.fullPath.indexOf('?') !== -1) {
data.fullPath += '&urlSource=smarttalk' data.fullPath += '&urlSource=smarttalk&t' + Date.now()
}else { }else {
data.fullPath += '?urlSource=smarttalk' data.fullPath += '?urlSource=smarttalk&t' + Date.now()
} }
linkWin[data.key].loadURL(data.fullPath) linkWin[data.key].loadURL(data.fullPath)