message 调整

This commit is contained in:
Wang Kejun 2023-01-08 15:14:10 +08:00
parent 9534ea8906
commit 85a1e5f103
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,7 @@ exports.default = OakComponent({
if (!pathname) {
return;
}
this.redirectTo(tslib_1.__assign({ url: pathname }, props), state);
this.redirectTo(tslib_1.__assign({ url: pathname }, props), state, true);
},
},
});

View File

@ -45,7 +45,8 @@ export default OakComponent({
url: pathname,
...props,
},
state
state,
true
);
},
},