Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dev/v4.4-bc-qiankun):add qiankun for emqx-dashboard as subapp #379

Open
wants to merge 2 commits into
base: dev/4.4
Choose a base branch
from

Conversation

ljemq
Copy link

@ljemq ljemq commented Sep 30, 2022

base branch is dev/v4.4 and change router from path to name

@ljemq ljemq changed the base branch from master to dev/4.4 October 9, 2022 01:35
@ljemq ljemq force-pushed the dev/v4.4-bc-qiankun branch from e3c5781 to 7b7013b Compare October 9, 2022 12:02
@@ -0,0 +1,4 @@
export const SING_NODE_VALUE = 'single-node'
export const isSingNode = (node) => node === SING_NODE_VALUE

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these two lines, useless here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -149,6 +183,7 @@ axios.interceptors.response.use((response) => {
let error = ''
let selfError = ''
if (typeof res === 'object') {
console.log(res, 'res')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -221,6 +242,18 @@ export default {
],
},
]
if (path.startsWith('/emqxDashBoard')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use the isSubApp variable to judge here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

childrenPath[5] = projectId
childrenPath[6] = deployId
childrenPath[7] = deployType
children.path = childrenPath.join('/')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow

@@ -52,6 +60,9 @@ module.exports = {
},
},
},
headers: {
'Access-Control-Allow-Origin': '*',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why there need to add this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kinplemelon
Copy link
Member

sooooo many files, thank you for you updated the configuration of eslint and replace path with name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants