mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-01-23 11:50:20 +08:00
Merge remote-tracking branch 'vben/main' into local
This commit is contained in:
commit
3c58f6dce7
@ -298,7 +298,7 @@ export function formatCell(text: string, format: CellFormat, record: Recordable,
|
|||||||
try {
|
try {
|
||||||
// date type
|
// date type
|
||||||
const DATE_FORMAT_PREFIX = 'date|';
|
const DATE_FORMAT_PREFIX = 'date|';
|
||||||
if (isString(format) && format.startsWith(DATE_FORMAT_PREFIX)) {
|
if (isString(format) && format.startsWith(DATE_FORMAT_PREFIX) && text) {
|
||||||
const dateFormat = format.replace(DATE_FORMAT_PREFIX, '');
|
const dateFormat = format.replace(DATE_FORMAT_PREFIX, '');
|
||||||
|
|
||||||
if (!dateFormat) {
|
if (!dateFormat) {
|
||||||
|
@ -3,7 +3,7 @@ import type { AppRouteModule } from '/@/router/types';
|
|||||||
import { LAYOUT } from '/@/router/constant';
|
import { LAYOUT } from '/@/router/constant';
|
||||||
import { t } from '/@/hooks/web/useI18n';
|
import { t } from '/@/hooks/web/useI18n';
|
||||||
|
|
||||||
const dashboard: AppRouteModule = {
|
const about: AppRouteModule = {
|
||||||
path: '/about',
|
path: '/about',
|
||||||
name: 'About',
|
name: 'About',
|
||||||
component: LAYOUT,
|
component: LAYOUT,
|
||||||
@ -28,4 +28,4 @@ const dashboard: AppRouteModule = {
|
|||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default dashboard;
|
export default about;
|
||||||
|
Loading…
Reference in New Issue
Block a user