mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore: replace ns.is condition (#22531)
* chore: replace ns.is condition
* chore: sgconfig
* Revert "chore: sgconfig"
This reverts commit fa56c22673.
This commit is contained in:
@@ -196,7 +196,7 @@ const leftPanelKls = computed(() => {
|
||||
arrowLeftBtn: [ppNs.e('icon-btn'), 'd-arrow-left'],
|
||||
arrowRightBtn: [
|
||||
ppNs.e('icon-btn'),
|
||||
{ [ppNs.is('disabled')]: !enableYearArrow.value },
|
||||
ppNs.is('disabled', !enableYearArrow.value),
|
||||
'd-arrow-right',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -309,9 +309,7 @@ const TableV2 = defineComponent({
|
||||
props.class,
|
||||
ns.b(),
|
||||
ns.e('root'),
|
||||
{
|
||||
[ns.is('dynamic')]: unref(isDynamic),
|
||||
},
|
||||
ns.is('dynamic', unref(isDynamic)),
|
||||
]
|
||||
|
||||
const footerProps = {
|
||||
|
||||
@@ -259,7 +259,7 @@ export function treeCellPrefix<T extends DefaultRow>(
|
||||
return [
|
||||
h(
|
||||
ElIcon,
|
||||
{ class: { [ns.is('loading')]: treeNode.loading } },
|
||||
{ class: ns.is('loading', treeNode.loading) },
|
||||
{
|
||||
default: () => [h(icon)],
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ export default defineComponent({
|
||||
'thead',
|
||||
{
|
||||
ref: 'theadRef',
|
||||
class: { [ns.is('group')]: isGroup },
|
||||
class: ns.is('group', isGroup),
|
||||
},
|
||||
columnRows.map((subColumns, rowIndex) =>
|
||||
h(
|
||||
|
||||
Reference in New Issue
Block a user