แก้ไข path คู่มือใน config
This commit is contained in:
parent
5dc17990de
commit
c4ef99c714
1 changed files with 4 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ const API = {
|
|||
const path = "http://chamomind.ddns.net:20006";
|
||||
|
||||
const generatePopupPath = (routeName: any) => {
|
||||
if (routeName.includes("metadata")) {
|
||||
return `${path}/manual/chapter-2-admin-metadata`;
|
||||
if (routeName.includes("registry")) {
|
||||
return `${path}/manual/chapter-2-user-registry`;
|
||||
}
|
||||
if (routeName.includes("leave")) {
|
||||
return `${path}/manual/chapter-4-user-leave`;
|
||||
|
|
@ -66,6 +66,8 @@ const generatePopupPath = (routeName: any) => {
|
|||
const manualConfig = {
|
||||
dashboard: `${path}/manual/chapter-1-user-organization-chart`,
|
||||
leave: `${path}/manual/chapter-4-user-leave`,
|
||||
organizationChart: `${path}/manual/chapter-1-user-organization-chart`,
|
||||
registryMain: `${path}/manual/chapter-2-user-registry`,
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue