根据粉丝数排序

lvtianfang
吕天方 1 year ago
parent 871c4466cc
commit 6ec9a04bcc

@ -3,7 +3,7 @@
* @Author: kery.chen
* @Description: 总体概览左侧
* @Date: 2021-11-30 11:08:50
* @LastEditTime: 2023-10-25 11:17:20
* @LastEditTime: 2023-10-25 14:51:49
* @FilePath : \\tcingiocpro\\src\\views\\privateOrder\\ecosphere\\components\\componentLeft.vue
-->
<template>
@ -791,8 +791,8 @@ export default {
this.tableData.push(obj);
});
this.total = res.total;
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数 );
})
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数);
}
this.currentPageData = this.tableData;
this.zoologyIconStatus = true;
@ -1037,8 +1037,8 @@ export default {
obj["粉丝数"] = item.fsCount;
this.tableData.push(obj);
});
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数);
})
this.tableData.sort((a, b) => b.粉丝数 - a.粉丝数);
} else if (params.type == 3) {
listVx({ ...params, isStatus:1 }).then(res=>{
res.rows.map((item) => {
@ -1107,8 +1107,8 @@ export default {
this.dialogTitle = data.data.title;
const fileName = data.data.fileName.split(",");
const fileUrl = data.data.fileUrl.split(",");
console.log(fileName,'fileName')
console.log(fileUrl,'fileUrl')
// console.log(fileName,'fileName')
// console.log(fileUrl,'fileUrl')
if (fileUrl.length < 1 || fileName.length < 1 || fileName == "" || fileUrl == "") return;
if (fileName.length > 0) {
fileName.forEach((item, index) => {
@ -1225,7 +1225,7 @@ export default {
responseType: "blob",
})
.then((response) => {
console.log(response,'response')
// console.log(response,'response')
this.pdfUrl = this.getObjectURL(response.data);
const loadingTask = pdf.createLoadingTask(this.pdfUrl);
loadingTask.promise

Loading…
Cancel
Save