提交 9c6841ff authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 7a7b8730
......@@ -5,11 +5,13 @@ export default class ScoreAPI extends BaseAPI {
/**
* zws项目内容获取
*/
getContent = name =>
this.get(
getContent = name => {
name = encodeURIComponent(name)
return this.get(
`zws/v1/cms/projects/1014/contents?sites=seg-ajsa.ezijing.com&tags=${name}`,
{}
)
}
/**
* zws新闻/消息获取
*/
......
......@@ -29,7 +29,7 @@ export default {
requestParam: {
page: 1,
per_page: 100,
type: 58,
type: 81,
project_id: 1014
},
listData: {
......@@ -44,7 +44,7 @@ export default {
methods: {
changeTab(index) {
const key = {
0: 58,
0: 81,
1: 54
}
this.requestParam.type = key[index]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论