zhuhao_dev #210
|
@ -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",
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue