feat: schemaInitializerManager

This commit is contained in:
lyx 2024-03-14 16:55:27 +08:00
parent e347a0d17b
commit b35dbec2fd

View File

@ -98,7 +98,7 @@ export class PluginRentalClient extends Plugin {
type: 'item', type: 'item',
title: tval('record'), title: tval('record'),
component: 'PDFViewerBlockInitializer', component: 'PDFViewerBlockInitializer',
'x-settings': 'PdfIsDoubleProvider', decorator: 'PdfIsDoubleProvider',
usePdfPath: '{{ useRecordPdfPath }}', usePdfPath: '{{ useRecordPdfPath }}',
target: 'record', target: 'record',
}); });
@ -107,7 +107,7 @@ export class PluginRentalClient extends Plugin {
type: 'item', type: 'item',
title: tval('waybill'), title: tval('waybill'),
component: 'PDFViewerBlockInitializer', component: 'PDFViewerBlockInitializer',
'x-settings': 'WaybillsProvider', decorator: 'WaybillsProvider',
usePdfPath: '{{ useWaybillPdfPath }}', usePdfPath: '{{ useWaybillPdfPath }}',
target: 'waybill', target: 'waybill',
}); });
@ -117,7 +117,7 @@ export class PluginRentalClient extends Plugin {
title: tval('settlement'), title: tval('settlement'),
component: 'PDFViewerBlockInitializer', component: 'PDFViewerBlockInitializer',
usePdfPath: '{{ useSettlementPdfPath }}', usePdfPath: '{{ useSettlementPdfPath }}',
'x-settings': 'SettlementStyleProvider', decorator: 'SettlementStyleProvider',
target: 'settlement', target: 'settlement',
}); });
} }