App.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <ConfigProvider :locale="getAntdLocale">
  3. <AppProvider>
  4. <RouterView />
  5. </AppProvider>
  6. </ConfigProvider>
  7. </template>
  8. <script lang="ts" setup>
  9. import { ConfigProvider } from 'ant-design-vue';
  10. import { AppProvider } from '/@/components/Application';
  11. import { useTitle } from '/@/hooks/web/useTitle';
  12. import { useLocale } from '/@/locales/useLocale';
  13. // support Multi-language
  14. const { getAntdLocale } = useLocale();
  15. // Listening to page changes and dynamically changing site titles
  16. useTitle();
  17. </script>
  18. <style lang="less">
  19. .desc-wrap-BasicTable {
  20. background-color: #f0f2f5;
  21. .vben-basic-table-form-container {
  22. padding: 0;
  23. }
  24. }
  25. .ant-input-textarea-clear-icon {
  26. margin: 8px 2px 0 0 !important;
  27. }
  28. // .ant-table-row-cell-break-word:empty:after {
  29. // content: '-';
  30. // }
  31. // .ant-table-cell:empty:after {
  32. // content: '-';
  33. // }
  34. // .ant-table-cell span:empty:after {
  35. // content: '-';
  36. // }
  37. .ant-table-row-indent {
  38. &:after {
  39. content: '' !important;
  40. }
  41. }
  42. .ant-badge span:empty:after {
  43. content: '' !important;
  44. }
  45. </style>