diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index ff73334..313e671 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,6 +5,8 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, + "ElMessage": true, + "ElMessageBox": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, @@ -71,8 +73,6 @@ "watch": true, "watchEffect": true, "watchPostEffect": true, - "watchSyncEffect": true, - "ElMessage": true, - "ElMessageBox": true + "watchSyncEffect": true } } diff --git a/src/assets/icons/svg/code.svg b/src/assets/icons/svg/code.svg new file mode 100644 index 0000000..734790f --- /dev/null +++ b/src/assets/icons/svg/code.svg @@ -0,0 +1 @@ + diff --git a/src/components/FilesSelect/index.vue b/src/components/FilesSelect/index.vue new file mode 100644 index 0000000..63427e8 --- /dev/null +++ b/src/components/FilesSelect/index.vue @@ -0,0 +1,150 @@ + + + + + + diff --git a/src/components/ModelSelect/index.vue b/src/components/ModelSelect/index.vue index abf7a1b..8456586 100644 --- a/src/components/ModelSelect/index.vue +++ b/src/components/ModelSelect/index.vue @@ -28,6 +28,10 @@ const popoverStyle = ref({ width: '200px', padding: '4px', height: 'fit-content', + background: 'var(--el-bg-color, #fff)', + border: '1px solid var(--el-border-color-light)', + borderRadius: '8px', + boxShadow: '0 2px 12px 0 rgba(0, 0, 0, 0.1)', }); const popoverRef = ref(); @@ -45,25 +49,25 @@ function handleClick(item: GetSessionListVO) {