docs: 更新文档地址

This commit is contained in:
liy 2023-05-18 07:44:31 +08:00
parent 404fad81e8
commit b724969912
10 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -36,7 +36,7 @@
## 文档
[在 https://d2.pub 上的本项目文档](https://d2.pub/zh/doc/d2-admin/)
[在 https://d2.pub 上的本项目文档](https://d2.pub/doc/d2-admin/)
## 功能

View File

@ -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'
}
}
}

View File

@ -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({

View File

@ -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谢谢 ~')
}
}

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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">

View File

@ -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')
})
})