This commit is contained in:
caozehui
2025-08-21 10:42:09 +08:00
parent 8e3368bd29
commit 7bcd88c3a7
3 changed files with 6 additions and 4 deletions

View File

@@ -67,6 +67,7 @@ import socketClient from '@/utils/webSocketClient'
import { checkSimulate } from '@/api/device/controlSource/index.ts'
import { controlSource } from '@/api/device/interface/controlSource'
import {getPqScriptList} from '@/api/plan/plan.ts'
import {JwtUtil} from "@/utils/jwtUtil";
const show = ref(false)
const router = useRouter()
@@ -322,7 +323,7 @@ const handleScriptChange = (value: string) => {
}
const start = async () => {
controlContent.value.userPageId = 'cdf'
controlContent.value.userPageId = JwtUtil.getLoginName()
controlContent.value.scriptIndex = scriptIndex.value
await checkSimulate(controlContent.value)
}