save
This commit is contained in:
parent
3ba5da9b98
commit
72fb06a4cf
|
|
@ -277,9 +277,10 @@ const formData = reactive<{
|
|||
|
||||
const translating = ref(false)
|
||||
const translatingFieldKey = ref<string>('')
|
||||
const isFullscreen = ref(props.fullscreen || false)
|
||||
const isFullscreen = ref(false)
|
||||
const detailLoading = ref(false)
|
||||
|
||||
|
||||
const forceUpdateKey = ref(0)
|
||||
function forceUpdate() {
|
||||
forceUpdateKey.value++
|
||||
|
|
@ -341,6 +342,7 @@ watch(
|
|||
() => [props.show, props.form, props.locales],
|
||||
async () => {
|
||||
if (props.show) {
|
||||
isFullscreen.value = props.fullscreen
|
||||
initFormData()
|
||||
if (props.id) {
|
||||
detailLoading.value = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue