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