From dbaa02298bc9243eab7ef31ed3ef919675712e1a Mon Sep 17 00:00:00 2001 From: Chong Guo Date: Sun, 2 Jun 2019 22:02:45 -0700 Subject: [PATCH] Style(word): pv -> pageviews --- mock/article.ts | 12 ++++++------ mock/index.ts | 4 ++-- public/favicon.ico | Bin 67646 -> 67646 bytes public/manifest.json | 2 +- src/api/article.ts | 6 +++--- src/views/table/complex-table.vue | 22 +++++++++++----------- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/mock/article.ts b/mock/article.ts index ec3579fa7..8f7fa5cc2 100644 --- a/mock/article.ts +++ b/mock/article.ts @@ -75,17 +75,17 @@ export default [ }, { - url: '/article/pv', + url: '/article/pageviews', type: 'get', response: (_: any) => { return { code: 20000, data: { - pvData: [ - { key: 'PC', pv: 1024 }, - { key: 'mobile', pv: 1024 }, - { key: 'ios', pv: 1024 }, - { key: 'android', pv: 1024 } + pageviewsData: [ + { key: 'PC', pageviews: 1024 }, + { key: 'mobile', pageviews: 1024 }, + { key: 'ios', pageviews: 1024 }, + { key: 'android', pageviews: 1024 } ] } } diff --git a/mock/index.ts b/mock/index.ts index 85852ee22..e881f7e2a 100644 --- a/mock/index.ts +++ b/mock/index.ts @@ -4,13 +4,13 @@ import { param2Obj } from '@/utils' import user from './user' import role from './role' import article from './article' -import remoteSearch from './remote-serach' +import search from './remote-serach' const mocks = [ ...user, ...role, ...article, - ...remoteSearch + ...search ] // For frontend mock diff --git a/public/favicon.ico b/public/favicon.ico index 34b63ac63a87ee3ea8e7a0f3f5b5406c437e2112..a5a67cca41ec2028f66edfa196f52da3ac57a68f 100644 GIT binary patch literal 67646 zcmeHQ2YeMp{-2i+0tQ5ifCvOoIL{N&69FkE1QJ3*B7&la6hTD<5u_+3kU#)|5Yh{T zq9`ax6G%uQq=*y&%b}iKtaqFZPw{U7_W%9vd;7B4yqfotybW*jne3Y_v$OO4wfW6& zW`!`|FD_2tesv&Y%3%GC;`5nD_qowt%+ka(_blO_k2$ z_m?>T>WPKE@yFx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RE*W=R^fEL{kfJe%7F|G%7zi&qR zT#7U<>j8-u*!VQ%P2T`mJbijP(>jJ0$EBN@)-ixd9Rsum8LObkURU8_@$*;(o3(VL zg5lev6(TeFiAY>HyJ&&6tI-0B%JE#dfRUd^3RoQZeYk+pq*kEl?O~2I$F7qjy2~QN X;@D+E7Ad=S_FbjlW&KY_+xPzm3MBT? diff --git a/public/manifest.json b/public/manifest.json index 2e4b13c47..0db1db957 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -15,6 +15,6 @@ ], "start_url": "./index.html", "display": "standalone", - "background_color": "#000000", + "background_color": "#fff", "theme_color": "#4DBA87" } diff --git a/src/api/article.ts b/src/api/article.ts index 3e0c96aca..aede9a1e5 100644 --- a/src/api/article.ts +++ b/src/api/article.ts @@ -50,11 +50,11 @@ export const fetchArticleDetail = (id: string) => params: { id } }) -export const fetchPageviews = (pv: string) => +export const fetchPageviews = (pageviews: string) => request({ - url: '/article/pv', + url: '/article/pageviews', method: 'get', - params: { pv } + params: { pageviews } }) export const createArticle = (data: any) => diff --git a/src/views/table/complex-table.vue b/src/views/table/complex-table.vue index 0103a1f60..208e8bc18 100644 --- a/src/views/table/complex-table.vue +++ b/src/views/table/complex-table.vue @@ -328,11 +328,11 @@ {{ $t('table.confirm') }} @@ -422,8 +422,8 @@ export default class ComplexTable extends Vue { update: 'Edit', create: 'Create' } - private dialogPvVisible = false - private pvData = [] + private dialogPageviewsVisible = false + private pageviewsData = [] private rules = { type: [{ required: true, message: 'type is required', trigger: 'change' }], timestamp: [{ type: 'number', required: true, message: 'timestamp is required', trigger: 'change' }], @@ -556,10 +556,10 @@ export default class ComplexTable extends Vue { this.list.splice(index, 1) } - private handlefetchPageviews(pv: string) { - fetchPageviews(pv).then(response => { - this.pvData = response.data.pvData - this.dialogPvVisible = true + private handlefetchPageviews(Pageviews: string) { + fetchPageviews(Pageviews).then(response => { + this.pageviewsData = response.data.pageviewsData + this.dialogPageviewsVisible = true }) }