feat: 格式化
parent
30744ad887
commit
8839c07b28
|
@ -77,9 +77,15 @@ const [Drawer, drawerApi] = useVbenDrawer({
|
||||||
|
|
||||||
const [addDeviceModal, addApi] = useVbenModal({
|
const [addDeviceModal, addApi] = useVbenModal({
|
||||||
connectedComponent: AddDevice,
|
connectedComponent: AddDevice,
|
||||||
|
onclose: () => {
|
||||||
|
tableApi.reload();
|
||||||
|
},
|
||||||
});
|
});
|
||||||
const [editDeviceModal, editApi] = useVbenModal({
|
const [editDeviceModal, editApi] = useVbenModal({
|
||||||
connectedComponent: EditDevice,
|
connectedComponent: EditDevice,
|
||||||
|
onclose: () => {
|
||||||
|
tableApi.reload();
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
async function get_template_types(type: String) {
|
async function get_template_types(type: String) {
|
||||||
|
|
Loading…
Reference in New Issue