Skip to content

Commit

Permalink
chore: banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Nov 14, 2024
1 parent 3fe772f commit 149aebf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@jx3box/jx3box-comment-ui": "^1.9.9",
"@jx3box/jx3box-common": "^8.4.8",
"@jx3box/jx3box-common-ui": "^9.0.5",
"@jx3box/jx3box-common": "^8.5.2",
"@jx3box/jx3box-common-ui": "^9.0.9",
"@jx3box/jx3box-data": "^3.7.0",
"@jx3box/jx3box-dict": "^2.2.2",
"@jx3box/jx3box-editor": "^2.2.16",
Expand Down
9 changes: 7 additions & 2 deletions src/components/common-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!-- 资料片过滤 -->
<zlpBy @filter="filterMeta" type="zlp" :client="client"></zlpBy>
<!-- 无界筛选 -->
<el-checkbox v-model="is_wujie" class="u-wujie-filter" :true-label="1" :false-label="0" @change="onWujieChange">只看无界</el-checkbox>
<versionBy :value="is_wujie" @filter="onWujieChange"></versionBy>
</div>
<div class="m-filter--right">
<!-- 排序过滤 -->
Expand All @@ -33,8 +33,12 @@
<script>
import { appKey } from "@/../setting.json";
import { publishLink } from "@jx3box/jx3box-common/js/utils";
import versionBy from "@jx3box/jx3box-common-ui/src/filters/versionBy.vue";
export default {
name: 'CommonHeader',
components: {
versionBy
},
props: {
canFilter: {
type: Boolean,
Expand Down Expand Up @@ -72,7 +76,8 @@ export default {
onSearch() {
this.$emit('search', this.search)
},
onWujieChange() {
onWujieChange(o) {
this.is_wujie = o['val']
this.$emit('wujie', this.is_wujie)
}
}
Expand Down

0 comments on commit 149aebf

Please sign in to comment.