mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-06 08:37:12 +08:00
更新数据库文件
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import type { ElTable, FormInstance } from 'element-plus'
|
||||
import type { ElTable } from 'element-plus'
|
||||
import EditPopup from './edit.vue'
|
||||
import { deptDelete, deptAll } from '@/api/org/department'
|
||||
import feedback from '@/utils/feedback'
|
||||
@@ -99,7 +99,7 @@ defineOptions({
|
||||
})
|
||||
const tableRef = shallowRef<InstanceType<typeof ElTable>>()
|
||||
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
|
||||
const formRef = shallowRef<FormInstance>()
|
||||
// const formRef = shallowRef<FormInstance>()
|
||||
let isExpand = false
|
||||
const loading = ref(false)
|
||||
const lists = ref<any[]>([])
|
||||
@@ -119,10 +119,10 @@ const getLists = async () => {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
const resetParams = () => {
|
||||
formRef.value?.resetFields()
|
||||
getLists()
|
||||
}
|
||||
// const resetParams = () => {
|
||||
// formRef.value?.resetFields()
|
||||
// getLists()
|
||||
// }
|
||||
|
||||
const handleAdd = async (id?: number) => {
|
||||
showEdit.value = true
|
||||
|
@@ -22,6 +22,10 @@ export default ({ mode }) => {
|
||||
// 依赖预构建,避免开发刷新
|
||||
include: ['@wangeditor/editor-for-vue', 'vuedraggable', 'vue-echarts', 'crypto-js']
|
||||
},
|
||||
build: {
|
||||
// 打包后文件名
|
||||
sourcemap: true
|
||||
},
|
||||
server: {
|
||||
open: true,
|
||||
host: '0.0.0.0',
|
||||
@@ -58,10 +62,10 @@ export default ({ mode }) => {
|
||||
}),
|
||||
viteCompression({
|
||||
algorithm: 'gzip'
|
||||
}),
|
||||
viteCompression({
|
||||
algorithm: 'brotliCompress'
|
||||
})
|
||||
// viteCompression({
|
||||
// algorithm: 'brotliCompress'
|
||||
// })
|
||||
// visualizer({
|
||||
// gzipSize: true,
|
||||
// brotliSize: true,
|
||||
|
960
sql/x_admin.sql
960
sql/x_admin.sql
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user