mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
release 2.9.19
This commit is contained in:
@@ -13,4 +13,4 @@
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
}
|
||||
})();</script><link href=/vxe-table/static/js/chunk-1b979dc0.a7208679.js rel=prefetch><link href=/vxe-table/static/js/chunk-2d216214.a9b84dcf.js rel=prefetch><link href=/vxe-table/static/js/chunk-2d216257.6a8b5f89.js rel=prefetch><link href=/vxe-table/static/css/chunk-vendors.cfd9ba4a.css rel=preload as=style><link href=/vxe-table/static/css/index.385bcafb.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.5740306f.js rel=preload as=script><link href=/vxe-table/static/js/index.6ddbf0eb.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.cfd9ba4a.css rel=stylesheet><link href=/vxe-table/static/css/index.385bcafb.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.5740306f.js></script><script src=/vxe-table/static/js/index.6ddbf0eb.js></script></body></html>
|
||||
})();</script><link href=/vxe-table/static/js/chunk-1b979dc0.a7208679.js rel=prefetch><link href=/vxe-table/static/js/chunk-2d216214.a9b84dcf.js rel=prefetch><link href=/vxe-table/static/js/chunk-2d216257.6a8b5f89.js rel=prefetch><link href=/vxe-table/static/css/chunk-vendors.cfd9ba4a.css rel=preload as=style><link href=/vxe-table/static/css/index.385bcafb.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.5740306f.js rel=preload as=script><link href=/vxe-table/static/js/index.50d088bb.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.cfd9ba4a.css rel=stylesheet><link href=/vxe-table/static/css/index.385bcafb.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.5740306f.js></script><script src=/vxe-table/static/js/index.50d088bb.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -13,4 +13,4 @@
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
}
|
||||
})();</script><link href=/vxe-table/v2/static/css/chunk-vendors.88b16125.css rel=preload as=style><link href=/vxe-table/v2/static/css/index.409efcab.css rel=preload as=style><link href=/vxe-table/v2/static/js/chunk-vendors.91cdd506.js rel=preload as=script><link href=/vxe-table/v2/static/js/index.3b2d5f97.js rel=preload as=script><link href=/vxe-table/v2/static/css/chunk-vendors.88b16125.css rel=stylesheet><link href=/vxe-table/v2/static/css/index.409efcab.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/v2/static/js/chunk-vendors.91cdd506.js></script><script src=/vxe-table/v2/static/js/index.3b2d5f97.js></script></body></html>
|
||||
})();</script><link href=/vxe-table/v2/static/css/chunk-vendors.88b16125.css rel=preload as=style><link href=/vxe-table/v2/static/css/index.409efcab.css rel=preload as=style><link href=/vxe-table/v2/static/js/chunk-vendors.91cdd506.js rel=preload as=script><link href=/vxe-table/v2/static/js/index.48232107.js rel=preload as=script><link href=/vxe-table/v2/static/css/chunk-vendors.88b16125.css rel=stylesheet><link href=/vxe-table/v2/static/css/index.409efcab.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/v2/static/js/chunk-vendors.91cdd506.js></script><script src=/vxe-table/v2/static/js/index.48232107.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
1
docs/v2/static/js/index.48232107.js
Normal file
1
docs/v2/static/js/index.48232107.js
Normal file
File diff suppressed because one or more lines are too long
@@ -7,6 +7,12 @@ export default {
|
||||
props: {
|
||||
filterStore: Object
|
||||
},
|
||||
computed: {
|
||||
hasCheckOption () {
|
||||
const { filterStore } = this
|
||||
return filterStore && filterStore.options.some(option => option.checked)
|
||||
}
|
||||
},
|
||||
render (h) {
|
||||
const { $parent: $xetable, filterStore } = this
|
||||
const { column } = filterStore
|
||||
@@ -106,20 +112,21 @@ export default {
|
||||
]
|
||||
},
|
||||
renderFooter (h) {
|
||||
const { filterStore } = this
|
||||
const { hasCheckOption, filterStore } = this
|
||||
const { column, multiple } = filterStore
|
||||
const filterRender = column.filterRender
|
||||
const compConf = filterRender ? VXETable.renderer.get(filterRender.name) : null
|
||||
const isDisabled = !hasCheckOption && !filterStore.isAllSelected && !filterStore.isIndeterminate
|
||||
return multiple && (!compConf || compConf.isFooter !== false) ? [
|
||||
h('div', {
|
||||
class: 'vxe-table--filter-footer'
|
||||
}, [
|
||||
h('button', {
|
||||
class: {
|
||||
'is--disabled': !filterStore.isAllSelected && !filterStore.isIndeterminate
|
||||
'is--disabled': isDisabled
|
||||
},
|
||||
attrs: {
|
||||
disabled: !filterStore.isAllSelected && !filterStore.isIndeterminate
|
||||
disabled: isDisabled
|
||||
},
|
||||
on: {
|
||||
click: this.confirmFilter
|
||||
|
||||
Reference in New Issue
Block a user