我正在為我的項目使用 Vuetify 數(shù)據(jù)表?;谖臋n中的示例https://vuetifyjs.com/en/components/data-tables/#usage如果您切換到設(shè)備屏幕大小,該組件將呈現(xiàn)用于項目排序的選擇:我想傳遞一個自定義的“排序依據(jù)”文本。我能夠弄清楚如何自定義大部分文本no-data-text="My custom no data text"no-results-text="My custom no results text":footer-props="{ showFirstLastPage: true, itemsPerPageText: 'My custom items per page', itemsPerPageOptions: [10, 20, -1], itemsPerPageAllText: 'My all text', pageText: '{0} - {1} of {2}'}"但我無法弄清楚在哪里傳遞這個“排序依據(jù)”標簽的自定義文本。有人介意告訴我如何自定義嗎?
將自定義文本傳遞給數(shù)據(jù)表“排序依據(jù)”選擇標簽
守著一只汪
2022-05-26 15:26:28