项目微调

引入按需自动导入插件,避免开发人员显示导入vue的函数
This commit is contained in:
2024-10-09 20:03:07 +08:00
parent c8d15c5b76
commit 6b0128921b
27 changed files with 2159 additions and 104 deletions

View File

@@ -23,7 +23,6 @@
</el-dialog>
</template>
<script lang="ts" setup>
import { ref, onMounted, defineExpose } from "vue";
const dialogVisible = ref<Boolean>(false);
const dialogTitle = ref<string>("");
const openDialog = (title: string) => {

View File

@@ -333,7 +333,7 @@ defineExpose({
});
</script>
<style lang="scss" scoped>
::v-deep .custom-table-header .el-table__header-wrapper .el-table__header{
:deep(.custom-table-header .el-table__header-wrapper .el-table__header){
background-color: red !important; /* 修改为你想要的颜色 */
}
</style>

View File

@@ -3,14 +3,6 @@
<div class="pie" ref="chartsRef"></div>
</template>
<script lang="ts" setup>
import {
ref,
onMounted,
defineProps,
defineExpose,
watch,
onUnmounted,
} from "vue";
import * as echarts from "echarts";
const chartsRef = ref();
const props = defineProps({