UNPKG

umi-plugin-router-plus

Version:

一款 Umi 3 插件,为你带来类型友好的页面参数的定义、传递与获取。

98 lines (51 loc) 4.52 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [1.8.1](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.8.0...v1.8.1) (2021-09-05) ### Bug Fixes - 去除文件扩展名 ([6e19745](https://github.com/fjc0k/umi-plugin-router-plus/commit/6e197456c109f36e772713b1e7cf1738bb1293e7)) ## [1.8.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.7.0...v1.8.0) (2021-01-03) ### Features - pageNameToChildrenPageNames ([9dcb668](https://github.com/fjc0k/umi-plugin-router-plus/commit/9dcb66808b24e84b1e3063c03805df7a3dc04282)) ## [1.7.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.6.0...v1.7.0) (2021-01-03) ### Features - **usePageParams:** 可不传页面名称 ([78fedb4](https://github.com/fjc0k/umi-plugin-router-plus/commit/78fedb403fabe5a460917f485ee9c4f6ad86e872)) - getChildrenPageNames ([1d81bcc](https://github.com/fjc0k/umi-plugin-router-plus/commit/1d81bccd2f3b83d6ae807abdb13383f1a28ec673)) ## [1.6.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.5.1...v1.6.0) (2020-12-31) ### Features - 导出页面名称列表 ([a6a4afa](https://github.com/fjc0k/umi-plugin-router-plus/commit/a6a4afa9aced5371fa4ae2fecc36b54740dc8961)) ### [1.5.1](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.5.0...v1.5.1) (2020-12-30) ### Bug Fixes - 获取路由名称时去除尾部 .html ([82d9b75](https://github.com/fjc0k/umi-plugin-router-plus/commit/82d9b7528d11cf1ea336b6d5c2be6f9cde1ff494)) ## [1.5.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.4.1...v1.5.0) (2020-10-11) ### Features - 增加 usePageName 获取当前页面名称 ([b6be84e](https://github.com/fjc0k/umi-plugin-router-plus/commit/b6be84e1f1036c643de1a0ddd630dd82f19ca62d)) ### [1.4.1](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.4.0...v1.4.1) (2020-08-15) ### Bug Fixes - 解决开启 exportStatic 时 index 重复的问题 ([95077ac](https://github.com/fjc0k/umi-plugin-router-plus/commit/95077ac5ea0e95c7b0d8a0845e678fdbb75b7641)) ## [1.4.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.3.0...v1.4.0) (2020-04-08) ### Features - 使用 usePageQuery 代替 useQuery ([6a384b4](https://github.com/fjc0k/umi-plugin-router-plus/commit/6a384b48f2932ca070da863850ad8af674b8be82)) ## [1.3.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.2.0...v1.3.0) (2020-04-01) ### Features - 增加 useQuery 获取传给页面的 query ([0cc2c1e](https://github.com/fjc0k/umi-plugin-router-plus/commit/0cc2c1e50931cd66c6f4d38dc87ed74b4c412235)) ## [1.2.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.1.2...v1.2.0) (2020-04-01) ### Features - 完善文档、注释、导出 ([c02ee0d](https://github.com/fjc0k/umi-plugin-router-plus/commit/c02ee0dedd1a9228525a752cc57e65810c7ebf71)) ### [1.1.2](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.1.1...v1.1.2) (2020-03-31) ### Bug Fixes - 参数类型合并优化 ([94a9cae](https://github.com/fjc0k/umi-plugin-router-plus/commit/94a9caedf4020f7135742df13c5435cd3e443ec5)) ### [1.1.1](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.1.0...v1.1.1) (2020-03-31) ### Bug Fixes - usePageParams 应可传入 layout 页面的名称 ([a9d8e91](https://github.com/fjc0k/umi-plugin-router-plus/commit/a9d8e9135bbddd56122ea83859e47255d419400f)) ## [1.1.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v1.0.0...v1.1.0) (2020-03-31) ### Features - 支持继承 layout 的参数 ([f28badf](https://github.com/fjc0k/umi-plugin-router-plus/commit/f28badf7a971383ebba84e16198bd5968dc1a892)) ## [1.0.0](https://github.com/fjc0k/umi-plugin-router-plus/compare/v0.0.1...v1.0.0) (2020-03-31) ### Features - query -> params ([09cd46f](https://github.com/fjc0k/umi-plugin-router-plus/commit/09cd46f78711a758f1f3d952c1e67c0b18542b41)) - 使用 json 包裹查询参数 ([1455fa4](https://github.com/fjc0k/umi-plugin-router-plus/commit/1455fa452ef6c299c9745ee293fddbdc1d54bfa8)) - 完成 Query 新版 ([7155c57](https://github.com/fjc0k/umi-plugin-router-plus/commit/7155c575af212c6885e6a02d08650a711d12dbaa)) ### 0.0.1 (2020-03-08) ### Features - 初次提交 ([6501c56](https://github.com/fjc0k/umi-plugin-router-plus/commit/6501c56039e7ed0e1c65ccd31207e73f2f29d3b3)) - 完善页面参数提示 ([de4f10f](https://github.com/fjc0k/umi-plugin-router-plus/commit/de4f10fe18d2dac085cc9253b620ce5cf3088264))