二期:BUG修复

This commit is contained in:
朱浩 2024-08-14 11:00:01 +08:00
parent ea4afb409f
commit c3709bf0c7
3 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "aix-win", "name": "aix-win",
"version": "1.0.7", "version": "1.1.0",
"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

@ -159,11 +159,11 @@ export function deleteSmartReserv(id) {
method: 'delete' method: 'delete'
}) })
} }
export function startClass(id) { export function startClass(id, ex3) {
return request({ return request({
url: '/smarttalk/classReserv/startClass', url: '/smarttalk/classReserv/startClass',
method: 'get', method: 'get',
params: {id} params: {id, ex3}
}) })
} }
export function endClass(id) { export function endClass(id) {

View File

@ -594,9 +594,8 @@ export default {
}) })
}, },
// - // -
openLesson() { async openLesson() {
const toolStore = useToolState() await startClass(this.curClassReserv.id)
startClass(this.curClassReserv.id)
createWindow('tool-sphere', { createWindow('tool-sphere', {
url: url:
'/tool/sphere?entpcourseid=' + '/tool/sphere?entpcourseid=' +