mod: 切换域名

This commit is contained in:
zclzone 2023-10-28 20:27:00 +08:00
parent 53de707509
commit db56ee536b
6 changed files with 21 additions and 21 deletions

View File

@ -1,5 +1,5 @@
# 自定义域名CNAME
# VITE_CNAME = 'template.qszone.com'
# VITE_CNAME = 'template.isme.top'
# 资源公共路径,需要以 /开头和结尾
VITE_PUBLIC_PATH = '/vue-naive-admin/'
@ -10,4 +10,4 @@ VITE_USE_HASH = true
VITE_USE_MOCK = true
# base api
VITE_BASE_API = '/api'
VITE_BASE_API = '/api'

View File

@ -8,7 +8,7 @@ VITE_USE_MOCK = true
VITE_BASE_API = '/api'
# 是否启用压缩
VITE_USE_COMPRESS = true
VITE_USE_COMPRESS = false
# 压缩类型
VITE_COMPRESS_TYPE = gzip
VITE_COMPRESS_TYPE = gzip

View File

@ -31,7 +31,7 @@
### Preview
[https://template.qszone.com](https://template.qszone.com)
[https://template.isme.top](https://template.isme.top)
[https://base.isme.top](https://base.isme.top)
@ -188,7 +188,7 @@ Vue Naive Admin
#### preview
- [https://admin.qszone.com](https://admin.qszone.com)
- [https://admin.isme.top](https://admin.isme.top)
- [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin)
### Open source projects that use this project:
@ -197,8 +197,8 @@ Vue Naive Admin
### Communication group & About the author
<a href="https://blog.qszone.com/about/">
<img src="https://assets.qszone.com/images/about.png" style="max-width: 400px" />
<a href="https://blog.isme.top/about/">
<img src="https://static.isme.top/images/about.png" style="max-width: 400px" />
</a>

View File

@ -31,7 +31,7 @@
### 预览
[https://template.qszone.com](https://template.qszone.com)
[https://template.isme.top](https://template.isme.top)
[https://template.isme.top](https://template.isme.top)
@ -200,7 +200,7 @@ Vue Naive Admin
#### 预览
- [https://admin.qszone.com](https://admin.qszone.com)
- [https://admin.isme.top](https://admin.isme.top)
- [https://zclzone.github.io/qs-admin](https://zclzone.github.io/qs-admin)
### 使用该项目的开源项目
@ -210,14 +210,14 @@ Vue Naive Admin
### 入群交流 & 关于作者
<a href="https://blog.qszone.com/about/">
<img src="https://assets.qszone.com/images/about.png" style="max-width: 400px" />
<a href="https://blog.isme.top/about/">
<img src="https://static.isme.top/images/about.png" style="max-width: 400px" />
</a>
### ☕ 赞助我
> 开源不易,请作者喝杯咖啡吧
<p>
<img src="https://assets.qszone.com/images/zhifu_weixin.jpg" style="width: 220px" />
<img src="https://assets.qszone.com/images/zhifu_zhifubao.jpg" style="width: 220px" />
<img src="https://static.isme.top/images/zhifu_weixin.jpg" style="width: 220px" />
<img src="https://static.isme.top/images/zhifu_zhifubao.jpg" style="width: 220px" />
</p>

View File

@ -4,21 +4,21 @@ const users = {
admin: {
id: 1,
name: '大脸怪(admin)',
avatar: 'https://assets.qszone.com/images/avatar.jpg',
avatar: 'https://static.isme.top/images/avatar.jpg',
email: 'Ronnie@123.com',
role: ['admin'],
},
editor: {
id: 2,
name: '大脸怪(editor)',
avatar: 'https://assets.qszone.com/images/avatar.jpg',
avatar: 'https://static.isme.top/images/avatar.jpg',
email: 'Ronnie@123.com',
role: ['editor'],
},
guest: {
id: 3,
name: '访客(guest)',
avatar: 'https://assets.qszone.com/images/avatar.jpg',
avatar: 'https://static.isme.top/images/avatar.jpg',
role: [],
},
}

View File

@ -50,10 +50,10 @@ defineOptions({ name: 'Upload' })
const { copy, copied } = useClipboard()
const imgList = reactive([
{ url: 'https://cdn.qszone.com/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.qszone.com/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.qszone.com/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.qszone.com/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.isme.top/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.isme.top/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.isme.top/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
{ url: 'https://cdn.isme.top/images/5c23d52f880511ebb6edd017c2d2eca2.jpg' },
])
watch(copied, (val) => {