@jx3box/jx3box-vue3-ui 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-vue3-ui",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -116,6 +116,8 @@ export default {
116
116
  total: 0,
117
117
  },
118
118
  isDesc: "DESC",
119
+ orderByLikes: false,
120
+ openWhiteList: false,
119
121
  loading: false,
120
122
  };
121
123
  },
@@ -214,6 +216,7 @@ export default {
214
216
  if (this.isDesc === "DESC") {
215
217
  orderQuery["desc"] = true;
216
218
  }
219
+ orderQuery["orderby_likes"] = this.orderByLikes;
217
220
  GET(`${this.baseAPI}/comment/page/${index}`, orderQuery)
218
221
  .then((resp) => {
219
222
  this.commentList = resp.data || [];