-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: dev/4.4
Are you sure you want to change the base?
Conversation
e3c5781
to
7b7013b
Compare
src/common/forToBeSubApp.js
Outdated
@@ -0,0 +1,4 @@ | |||
export const SING_NODE_VALUE = 'single-node' | |||
export const isSingNode = (node) => node === SING_NODE_VALUE | |||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/common/http.js
Outdated
@@ -149,6 +183,7 @@ axios.interceptors.response.use((response) => { | |||
let error = '' | |||
let selfError = '' | |||
if (typeof res === 'object') { | |||
console.log(res, 'res') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/components/LeftBar.vue
Outdated
@@ -221,6 +242,18 @@ export default { | |||
], | |||
}, | |||
] | |||
if (path.startsWith('/emqxDashBoard')) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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('/') |
There was a problem hiding this comment.
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': '*', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sooooo many files, thank you for you updated the configuration of eslint and replace path with name |
base branch is dev/v4.4 and change router from path to name