优化代码

This commit is contained in:
不做码农
2022-04-23 21:56:20 +08:00
parent fd28add423
commit b56e150bf3
6 changed files with 77 additions and 66 deletions
+1 -1
View File
@@ -80,7 +80,7 @@
</el-row>
<panel-group @handleSetLineChartData="handleSetLineChartData" />
<el-row class="mb20" style="background: #fff;">
<el-row class="mb20" style="background: #fff">
<line-chart :chart-data="lineChartData" :key="dataType" />
</el-row>
-1
View File
@@ -121,7 +121,6 @@ import { updateGenTable, getGenTable } from '@/api/tool/gen'
import { listType } from '@/api/system/dict/type'
import basicInfoForm from './basicInfoForm'
import genInfoForm from './genInfoForm'
import { getCurrentInstance, reactive } from 'vue-demi'
import { useRoute } from 'vue-router'
// import Sortable from 'sortablejs'
-2
View File
@@ -265,12 +265,10 @@
<script setup name="genInfoForm">
import { listMenu } from '@/api/system/menu'
import { queryColumnInfo } from '@/api/tool/gen'
import { watch } from 'vue-demi'
const subColumns = ref([])
const menuOptions = ref([])
// const checkedBtn = ref([])
const { proxy } = getCurrentInstance()
const props = defineProps({
info: {