Skip to content

Commit

Permalink
docs: 更新文档地址
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed May 17, 2023
1 parent 404fad8 commit b724969
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following access addresses are built and deployed by the latest master branc

## Document

[document on https://d2.pub](https://d2.pub/zh/doc/d2-admin/)
[document on https://d2.pub](https://d2.pub/doc/d2-admin/)

## Features

Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

## 文档

[https://d2.pub 上的本项目文档](https://d2.pub/zh/doc/d2-admin/)
[https://d2.pub 上的本项目文档](https://d2.pub/doc/d2-admin/)

## 功能

Expand Down
2 changes: 1 addition & 1 deletion src/components/d2-container-frame/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
src: {
type: String,
required: false,
default: 'https://d2.pub/zh/doc/d2-admin'
default: 'https://d2.pub/doc/d2-admin'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/locales/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
message = [
`当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]`,
'仅提供切换功能,没有配置具体的语言数据 ',
'文档参考:<a class="el-link el-link--primary is-underline" target="_blank" href="https://d2.pub/zh/doc/d2-admin/locales">《国际化 | D2Admin》</a>'
'文档参考:<a class="el-link el-link--primary is-underline" target="_blank" href="https://d2.pub/doc/d2-admin/locales">《国际化 | D2Admin》</a>'
].join('<br/>')
}
this.$notify({
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/d2admin/modules/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
versionShow () {
util.log.capsule('D2Admin', `v${process.env.VUE_APP_VERSION}`)
console.log('D2 Admin https://github.com/d2-projects/d2-admin')
console.log('Document https://d2.pub/zh/doc/d2-admin')
console.log('Document https://d2.pub/doc/d2-admin')
console.log('请不要吝啬您的 star,谢谢 ~')
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/demo/playground/frame/d2-doc/index.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<template>
<d2-container-frame src="https://d2.pub/zh/doc/d2-admin"/>
<d2-container-frame src="https://d2.pub/doc/d2-admin"/>
</template>
2 changes: 1 addition & 1 deletion src/views/demo/playground/locales/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<d2-link-btn
slot="footer"
title="文档"
link="https://d2.pub/zh/doc/d2-admin/locales"/>
link="https://d2.pub/doc/d2-admin/locales"/>
</d2-container>
</template>
2 changes: 1 addition & 1 deletion src/views/system/index/components/d2-help/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
这里有一些参考资料
</h2>
<el-button-group>
<el-button @click="$open('https://d2.pub/zh/doc/d2-admin')">
<el-button @click="$open('https://d2.pub/doc/d2-admin')">
<d2-icon name="book" class="d2-mr-5"/>
文档
</el-button>
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template slot="footer">
<div class="btn-group">
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">开源组织</span> |
<span class="btn-group__btn" @click="$open('https://d2.pub/zh/doc/d2-admin')">文档</span> |
<span class="btn-group__btn" @click="$open('https://d2.pub/doc/d2-admin')">文档</span> |
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">简化版</span> |
<span class="btn-group__btn" @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">掘金</span> |
<el-popover :width="150" trigger="hover">
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/d2-container-frame.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ describe('d2-container-frame', () => {
const wrapper = mount(D2ContainerFrame, {
stubs: ['d2-container'],
propsData: {
src: 'https://d2.pub/zh/doc/d2-admin'
src: 'https://d2.pub/doc/d2-admin'
}
})

expect(wrapper.props().src).toEqual('https://d2.pub/zh/doc/d2-admin')
expect(wrapper.props().src).toEqual('https://d2.pub/doc/d2-admin')
})
})

0 comments on commit b724969

Please sign in to comment.