feat: 同步精简接口并统一表单校验
This commit is contained in:
@@ -9,6 +9,11 @@ const expanded = ref<string[]>([])
|
||||
function toggle() {
|
||||
expanded.value = expanded.value.length ? [] : ['details']
|
||||
}
|
||||
defineExpose({
|
||||
expand: () => {
|
||||
expanded.value = ['details']
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
<NCollapse v-model:expanded-names="expanded" class="detail-disclosure"
|
||||
|
||||
Reference in New Issue
Block a user