删除无用文件

This commit is contained in:
Sun 2024-01-08 22:36:10 +08:00
parent 89b6b63310
commit 3905717d42
2 changed files with 0 additions and 35 deletions

View File

@ -1,35 +0,0 @@
<script setup lang="ts">
import { computed } from 'vue'
import { NColorPicker, NForm, NFormItem } from 'naive-ui'
import type { ProgressStyle } from '../../typings'
const props = defineProps<{
progressStyle: ProgressStyle
}>()
const emit = defineEmits<{
(e: 'update:progressStyle', visible: ProgressStyle): void // prop
}>()
const data = computed({
get: () => props.progressStyle,
set() {
emit('update:progressStyle', data.value)
},
})
</script>
<template>
<div>
<NForm ref="formRef" :model="data">
<NFormItem path="url" label="主色">
<!-- <NSelect :style="{ width: '100px' }" :options="urlProtocolOptions" /> -->
<NColorPicker v-model:value="data.color" size="small" />
</NFormItem>
<NFormItem path="url" label="背景色">
<!-- <NSelect :style="{ width: '100px' }" :options="urlProtocolOptions" /> -->
<NColorPicker v-model:value="data.railColor" size="small" />
</NFormItem>
</NForm>
</div>
</template>