Skip to content

Commit e5b977d

Browse files
committed
表单数据存储到静态资源服务器
1 parent 86e1345 commit e5b977d

File tree

6 files changed

+3
-82
lines changed

6 files changed

+3
-82
lines changed

src/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import axios from 'axios'
22

33
export function getTableList (param) {
44
return axios({
5-
url: './static/mock-data/table-list.json',
5+
url: 'https://cdn.jsdelivr.net/gh/baimingxuan/media-store/mock-data/table-list.json',
66
method: 'get',
77
param
88
})

src/layout/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export default {
3838
...mapGetters('app', ['collapsed']),
3939
imgSrc () {
4040
if (this.collapsed) {
41-
return './static/logo/logo-icon.png'
41+
return 'https://cdn.jsdelivr.net/gh/baimingxuan/media-store/images/logo-icon.png'
4242
}
43-
return './static/logo/logo.png'
43+
return 'https://cdn.jsdelivr.net/gh/baimingxuan/media-store/images/logo.png'
4444
}
4545
},
4646
created () {

static/logo/favicon.ico

-1.12 KB
Binary file not shown.

static/logo/logo-icon.png

-14.6 KB
Binary file not shown.

static/logo/logo.png

-10.2 KB
Binary file not shown.

static/mock-data/table-list.json

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)