mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-16 22:23:44 +08:00
发布v2.3.5版本,本次为优化版本。更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
>
|
||||
<n-form-item label="上级部门" path="pid">
|
||||
<n-tree-select
|
||||
key-field="id"
|
||||
:options="options"
|
||||
:default-value="optionsDefaultValue"
|
||||
:default-expand-all="true"
|
||||
@@ -387,7 +388,6 @@
|
||||
}
|
||||
|
||||
async function handleSubmit(values: Recordable) {
|
||||
// reloadTable();
|
||||
await loadDataTable(values);
|
||||
}
|
||||
|
||||
@@ -395,8 +395,8 @@
|
||||
|
||||
const loadDataTable = async (res) => {
|
||||
loading.value = true;
|
||||
data.value = await getDeptList({ ...res, ...formRef.value?.formModel });
|
||||
|
||||
const tmp = await getDeptList({ ...res, ...formRef.value?.formModel });
|
||||
data.value = tmp.list;
|
||||
if (data.value === undefined || data.value === null) {
|
||||
data.value = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user