Commit a2d7d3f2 authored by yzl's avatar yzl

- 优化进度条

parent 443dc2d6
Pipeline #57670 passed with stages
......@@ -54,13 +54,10 @@ const BootPage = props => {
// 新增熊猫新产品引导页
if(type === '熊猫新产品') {
window.history.pushState('', null ,`/?client=${props.global.client}`);
setTimeout(() => {
setPercentNum(100);
setTimeout(() => {
window.history.pushState('', null , `/cloud/introduction/newproducts`);
}, 500);
......@@ -134,13 +131,17 @@ const BootPage = props => {
const handleToggleIndustry = event => {
setPercentNum(98)
// props.history.push(`/?client=${props.global.client}`)
setTimeout(() => {
props.history.push(`/?client=${props.global.client}`)
}, 1000)
// window.share.event.emit('triggerMicro', props.global);
props.updateCurrentIndex(0);
defaultApp();
};
loginAction.events.on('toggleIndustry', handleToggleIndustry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment