release 2.9.19

This commit is contained in:
xuliangzhan
2020-08-31 12:26:12 +08:00
parent ddcfc55c3e
commit 2e4df48bdd
6 changed files with 14 additions and 7 deletions

View File

@@ -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

View File

@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -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