showEditDialog(editForm) {
this.editDialogVisible = true
this.editForm = editForm
}
import {ref} from 'vue'
export default {
setup() {
const editDialogVisible = ref(false)
const editForm = ref(null)
function showEditDialog(value) {
editDialogVisible.value = true
editForm.value = value
}
return {
editDialogVisible,
editForm,
showEditDialog
}
}
}