mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-11 13:02:49 +00:00
优化
This commit is contained in:
parent
1cfac24175
commit
5b75b25a0a
@ -1,4 +1,4 @@
|
||||
import { defineComponent, h, nextTick, toRef, watch } from "vue";
|
||||
import { defineComponent, h, nextTick, } from "vue";
|
||||
import { cloneDeep, get, isBoolean } from "lodash-es";
|
||||
import { useAction, useForm, usePlugins, useTabs } from "./helper";
|
||||
import { useBrowser, useConfig, useElApi, useRefs } from "../../hooks";
|
||||
@ -335,7 +335,7 @@ export default defineComponent({
|
||||
function deep(e: ClForm.Item) {
|
||||
formHook.bind({
|
||||
...e,
|
||||
value: e.prop ? data[e.prop] : undefined,
|
||||
value: e.prop ? get(data, e.prop) : undefined,
|
||||
form: data
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user