File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default defineConfig({
3535
3636 editLink : {
3737 pattern : ( { relativePath } ) => {
38- if ( relativePath === ' intro.md') {
38+ if ( relativePath . endsWith ( '/ intro.md') ) {
3939 return 'https://github.com/zjx0905/axios-miniprogram/edit/main/README.md' ;
4040 }
4141 return `https://github.com/zjx0905/axios-miniprogram/edit/main/docs/pages/${ relativePath } ` ;
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ $ pnpm install -D axios-miniprogram
2222
2323::::
2424
25- [ 原生小程序也可以直接下载源码包] ( https://github.com/zjx0905/axios-miniprogram/releases )
25+ 原生小程序也可以直接[ 下载源码包] ( https://github.com/zjx0905/axios-miniprogram/releases ) ,但是这样是失去类型提示和 ` sourceMap ` 定位功能。
26+
27+ 在条件允许的情况下建议优先使用包管理工具安装的方式,而不是使用下载源码包的方式。
2628
2729## 引用
2830
You can’t perform that action at this time.
0 commit comments