提交 02884366 编写于 作者: 杨广俊's avatar 杨广俊

bug 修改

上级 1c415cf7
......@@ -238,6 +238,12 @@ export function pageJumpUrl(){
return url;
}
export function sortParmData(originData, orderCol, index) {
return originData.sort((a, b) => {
return (a[orderCol] - b[orderCol] ) * -1
})
}
//跳转个人评价页面
export function jumpEvaluatPage(){
return evaluatPageUrl
......
......@@ -148,11 +148,10 @@ export default {
window.__getUserInfo = function(params){
_this.token = params.userToken
// _this.SET_USER_INFO(params)
// _this.search()
_this.search()
_this.getAdjustData()
}
if(window.__isWeb) {
_this.getAdjustData()
_this.search()
}
window.__refresh = function(){
......@@ -161,7 +160,6 @@ export default {
},
mounted(){
this.getUserInfo()
this.search()
// this.searchAll(this.searchText, '1', 'contentAppModels', 'contentAppModelsAll')
},
methods: {
......@@ -183,10 +181,11 @@ export default {
createdTime: new Date().getTime(),
})
this.showLoading = true
let str2 = (this.searchText || '').replace(/[\-\_\,\!\|\~\`\(\)\#\$\%\^\&\*\{\}\:\;\"\L\<\>\?]/g, '');// 去掉特殊字符
let _this = this,
para = {
searchCategory: '1,2,3,4',
searchValue: _this.searchText,
searchValue: str2,
keywordColor: 'rgba(244,122,72,1)',
sortItem: 1,
pageNo: 1,
......@@ -323,6 +322,7 @@ export default {
width: 100%;
/* margin: 0 20px; */
border-bottom: 1px solid #E7E7E7 !important;
/* background-color: #fff; */
}
.mint-searchbar {
position: relative;
......
......@@ -126,6 +126,7 @@ export default {
width: 100%;
/* margin: 0 20px; */
border-bottom: 1px solid #E7E7E7 !important;
background-color: #fff;
}
.mint-searchbar {
position: relative;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册