自动化代码修改完成

This commit is contained in:
piexlmax
2021-12-31 00:57:36 +08:00
parent df9dc477ed
commit 8825a18b22
4 changed files with 228 additions and 183 deletions
+2 -2
View File
@@ -185,12 +185,12 @@ import PreviewCodeDialog from '@/view/systemTools/autoCode/component/previewCode
import { toUpperCase, toHump, toSQLLine, toLowerCase } from '@/utils/stringFun'
import { createTemp, getDB, getTable, getColumn, preview, getMeta } from '@/api/autoCode'
import { getDict } from '@/utils/dictionary'
import { ref, getCurrentInstance } from 'vue'
import { ref, getCurrentInstance, reactive } from 'vue'
import { useRoute } from 'vue-router'
import { ElMessage } from 'element-plus'
const route = useRoute()
const activeNames = ref([''])
const activeNames = reactive([])
const preViewCode = ref({})
const dbform = ref({
dbName: '',
+6 -2
View File
@@ -347,11 +347,15 @@ export default {
<script setup>
import { getSystemConfig, setSystemConfig } from '@/api/system'
import { emailTest } from '@/api/email'
import { ref } from 'vue'
import { ref, reactive } from 'vue'
import { ElMessage } from 'element-plus'
const activeNames = reactive([])
const config = ref({
system: {},
system: {
iplimitCount: 0,
iplimitTime: 0
},
jwt: {},
casbin: {},
mysql: {},