diff --git a/src/pages.json b/src/pages.json index 17ca0e5..75026c8 100644 --- a/src/pages.json +++ b/src/pages.json @@ -49,6 +49,13 @@ "path": "pages/demo/index", "type": "page" }, + { + "path": "pages/login/login", + "type": "page", + "style": { + "navigationBarTitleText": "登录" + } + }, { "path": "pages/my/index", "type": "page", diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue new file mode 100644 index 0000000..b588cbc --- /dev/null +++ b/src/pages/login/login.vue @@ -0,0 +1,9 @@ + +{ + style: { navigationBarTitleText: '登录' }, +} + + + diff --git a/uni-pages.d.ts b/uni-pages.d.ts index 93b0ea6..39c3408 100644 --- a/uni-pages.d.ts +++ b/uni-pages.d.ts @@ -6,6 +6,7 @@ interface NavigateToOptions { url: "pages/index/index" | "pages/demo/index" | + "pages/login/login" | "pages/my/index" | "pages/throughout/index" | "pages/index/demo/component-auto-import" |