type artWork: OriginalArtWork = {
    work_id: number
    ...
}

const work = ref<artWork | null>(null)
或
const work = reactive<artWork | null>(null)

function test() {
    let work = work.value
    work.work_id = 
}

Logo

前往低代码交流专区

更多推荐