fix(operator): fix operator edit issue
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m25s

This commit is contained in:
sexygoat
2026-04-10 15:06:28 +08:00
parent 2b3119c549
commit 8b30341d50
8 changed files with 320 additions and 86 deletions

View File

@@ -50,11 +50,12 @@
interface Props {
modelValue: boolean
cardNo?: string // 流量卡号ICCID
}
interface Emits {
(e: 'update:modelValue', value: boolean): void
(e: 'confirm', data: { enabled: number; ssid: string; password: string }): void
(e: 'confirm', data: { card_no: string; enabled: number; ssid: string; password: string }): void
}
const props = defineProps<Props>()
@@ -104,6 +105,7 @@
try {
await formRef.value.validate()
emit('confirm', {
card_no: props.cardNo || '',
enabled: form.enabled,
ssid: form.ssid,
password: form.password