feat: 登录页改造

This commit is contained in:
kailong321200875
2023-07-10 20:40:36 +08:00
parent b1a83f6018
commit 5312951359
9 changed files with 197 additions and 164 deletions

View File

@@ -207,6 +207,12 @@ const fixedHeaderOrAuto = () => {
height.value = 'auto'
}
}
const getSelections = async () => {
const elTableRef = await getElTableExpose()
const selections = elTableRef?.getSelectionRows()
console.log(selections)
}
</script>
<template>
@@ -236,6 +242,8 @@ const fixedHeaderOrAuto = () => {
<ElButton @click="showOrHiddenStripe">{{ t('tableDemo.showOrHiddenStripe') }}</ElButton>
<ElButton @click="fixedHeaderOrAuto">{{ t('tableDemo.fixedHeaderOrAuto') }}</ElButton>
<ElButton @click="getSelections">{{ t('tableDemo.getSelections') }}</ElButton>
</ContentWrap>
<ContentWrap :title="`UseTable ${t('tableDemo.example')}`">
<Table