Commit a2d7d3f2 authored by yzl's avatar yzl

- 优化进度条

parent 443dc2d6
Pipeline #57670 passed with stages
...@@ -54,13 +54,10 @@ const BootPage = props => { ...@@ -54,13 +54,10 @@ const BootPage = props => {
// 新增熊猫新产品引导页 // 新增熊猫新产品引导页
if(type === '熊猫新产品') { if(type === '熊猫新产品') {
window.history.pushState('', null ,`/?client=${props.global.client}`);
setTimeout(() => { setTimeout(() => {
setPercentNum(100); setPercentNum(100);
setTimeout(() => { setTimeout(() => {
window.history.pushState('', null , `/cloud/introduction/newproducts`); window.history.pushState('', null , `/cloud/introduction/newproducts`);
}, 500); }, 500);
...@@ -134,13 +131,17 @@ const BootPage = props => { ...@@ -134,13 +131,17 @@ const BootPage = props => {
const handleToggleIndustry = event => { const handleToggleIndustry = event => {
setPercentNum(98) setPercentNum(98)
setTimeout(() => {
// props.history.push(`/?client=${props.global.client}`) props.history.push(`/?client=${props.global.client}`)
}, 1000)
// window.share.event.emit('triggerMicro', props.global); // window.share.event.emit('triggerMicro', props.global);
props.updateCurrentIndex(0); props.updateCurrentIndex(0);
defaultApp(); defaultApp();
}; };
loginAction.events.on('toggleIndustry', handleToggleIndustry); 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