refactor: 调整 eslint.config.js

This commit is contained in:
2024-11-23 22:58:07 +08:00
parent 7fe3ffe9da
commit 99f8edb729
5 changed files with 11 additions and 8 deletions

View File

@@ -106,8 +106,6 @@ const open = () => {
visible.value = true
}
defineExpose({ open })
// 默认显示的主题色列表
const defaultColorList = [
'#165DFF',
@@ -139,6 +137,8 @@ const changeColor = (colorObj: ColorObj) => {
if (!/^#[0-9A-Z]{6}/i.test(colorObj.hex)) return
appStore.setThemeColor(colorObj.hex)
}
defineExpose({ open })
</script>
<style scoped lang="scss">