|
|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
type _LocationUrl =
|
|
|
"/pages/index/index" |
|
|
|
- "/pages/about/index";
|
|
|
+ "/pages/my/index";
|
|
|
|
|
|
interface NavigateToOptions {
|
|
|
url: _LocationUrl;
|
|
|
@@ -13,7 +13,7 @@ interface NavigateToOptions {
|
|
|
interface RedirectToOptions extends NavigateToOptions {}
|
|
|
|
|
|
interface SwitchTabOptions {
|
|
|
- url: "/pages/index/index" | "/pages/about/index"
|
|
|
+ url: "/pages/index/index" | "/pages/my/index"
|
|
|
}
|
|
|
|
|
|
type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;
|