lint regexSelect (#382)

This commit is contained in:
wang-liang0615 2024-01-12 18:09:03 +08:00 committed by GitHub
parent 9141c06530
commit b6ef49f139
1 changed files with 190 additions and 190 deletions

View File

@ -64,12 +64,12 @@
<a-input ref="regInput" :placeholder="$t('regexSelect.placeholder')" :value="current.label" @change="changeLabel">
</a-input>
</a-popover>
</template>
</template>
<script>
import { mapState } from 'vuex'
import { regList } from './constants'
export default {
<script>
import { mapState } from 'vuex'
import { regList } from './constants'
export default {
name: 'RegexSelect',
model: {
prop: 'value',
@ -142,12 +142,12 @@
}
},
},
}
</script>
}
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.regex-select {
<style lang="less" scoped>
@import '~@/style/static.less';
.regex-select {
width: 100%;
height: 300px;
display: flex;
@ -185,11 +185,11 @@
margin-left: -6px;
}
}
}
</style>
}
</style>
<style lang="less">
.regex-select-wrapper {
<style lang="less">
.regex-select-wrapper {
.ant-popover-arrow {
display: none;
}
@ -198,11 +198,11 @@
min-width: 370px;
width: var(--overlay-width);
}
}
.regex-select-wrapper.ant-popover-placement-bottom .ant-popover-content {
}
.regex-select-wrapper.ant-popover-placement-bottom .ant-popover-content {
margin-top: -8px;
}
.regex-select-wrapper.ant-popover-placement-top .ant-popover-content {
}
.regex-select-wrapper.ant-popover-placement-top .ant-popover-content {
margin-bottom: -8px;
}
</style>
}
</style>