diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 10d3f8d..3afac89 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -89,7 +89,7 @@ value-key="deptId" placeholder="选择上级部门" check-strictly - /> + /> {{ form.deptId }} diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 8833940..dabad64 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -130,9 +130,22 @@ + - + + + @@ -370,7 +383,7 @@ const upload = reactive({ }); // 列显隐信息 const columns = ref([ - { key: 0, label: `用户编号`, visible: true }, + { key: 0, label: `头像`, visible: true }, { key: 1, label: `用户名称`, visible: true }, { key: 2, label: `用户昵称`, visible: true }, { key: 3, label: `部门`, visible: true }, @@ -606,3 +619,40 @@ function submitForm() { getDeptTree(); getList(); + + \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index d260bbc..0ded497 100644 --- a/vite.config.js +++ b/vite.config.js @@ -24,6 +24,7 @@ export default defineConfig(({ mode, command }) => { }, // vite 相关配置 server: { + hmr: true, port: 80, host: true, open: true,