diff --git a/api/v2/all.api.js b/api/v2/all.api.js index 8707f54..ad15573 100644 --- a/api/v2/all.api.js +++ b/api/v2/all.api.js @@ -252,11 +252,7 @@ export default { * 获取投票列表 */ getVoteList: (params) => { - return HttpHandler.Get(`/apis/console.api.vote.kunkunyu.com/v1alpha1/votes`, params, { - custom: { - personalToken: getPersonalToken() - } - }) + return HttpHandler.Get(`/apis/api.vote.kunkunyu.com/v1alpha1/votes`, params) }, /** * 获取投票详情 diff --git a/common/styles/app.base.scss b/common/styles/app.base.scss index b90fe74..ffcdeae 100644 --- a/common/styles/app.base.scss +++ b/common/styles/app.base.scss @@ -340,5 +340,10 @@ $spacing-sizes: ( } .justify-center { - justify-content: center; + justify-content: center; } + +.text-break { + overflow-wrap: break-word; + word-break: break-all; +} \ No newline at end of file diff --git a/components/article-vote/article-vote.vue b/components/article-vote/article-vote.vue index e6d97e3..48cab13 100644 --- a/components/article-vote/article-vote.vue +++ b/components/article-vote/article-vote.vue @@ -5,25 +5,34 @@