New dpcs structure and dataset i18n (#551)
* perf: check balance * md * lock way * i18n * docs * doc * i18n * update doc * feat: one link sync * feat: one link sync * feat: one link sync * feat: one link sync * feat: one link sync * feat: one link sync * feat: one link sync
This commit is contained in:
7
projects/app/src/web/common/system/doc.ts
Normal file
7
projects/app/src/web/common/system/doc.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { feConfigs } from './staticData';
|
||||
|
||||
export const getDocPath = (path: string) => {
|
||||
if (!feConfigs?.docUrl) return '';
|
||||
if (feConfigs.docUrl.endsWith('/')) return feConfigs.docUrl;
|
||||
return feConfigs.docUrl + path;
|
||||
};
|
||||
Reference in New Issue
Block a user