项目微调

引入按需自动导入插件,避免开发人员显示导入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

@@ -127,22 +127,12 @@
</template>
<script setup lang="tsx" name="useProTable">
import { ref, reactive, onMounted } from "vue";
import { useRouter } from "vue-router";
import { User } from "@/api/interface";
import { useHandleData } from "@/hooks/useHandleData";
import { useDownload } from "@/hooks/useDownload";
import { ElMessage, ElMessageBox } from "element-plus";
import ProTable from "@/components/ProTable/index.vue";
import ImportExcel from "@/components/ImportExcel/index.vue";
import {
CirclePlus,
Delete,
EditPen,
Download,
Upload,
View,
Refresh,
Search,
} from "@element-plus/icons-vue";
import { getPlanList } from "@/api/plan/planList";
@@ -544,9 +534,6 @@ defineExpose({ changeActiveTabs });
width: 150px !important;
}
}
// ::v-deep .el-select {
// width: 150px !important;
// }
.el-form {
width: 100%;

View File

@@ -30,7 +30,6 @@
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted, defineExpose, watch } from "vue";
import { Menu,Platform} from "@element-plus/icons-vue";
const emit = defineEmits(["jump"]);
const data: any = ref([]);