fix: bug#11256
This commit is contained in:
parent
e48a9ba24f
commit
6a60407e9f
|
@ -99,7 +99,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const type = ref(props.provider.type);
|
const type = ref(props.provider.type || props.data.type);
|
||||||
|
|
||||||
const formState = ref<FormState>({
|
const formState = ref<FormState>({
|
||||||
name: '',
|
name: '',
|
||||||
|
|
|
@ -234,8 +234,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const type = props.provider.type;
|
const type = ref(props.provider.type || props.data.type);
|
||||||
|
|
||||||
const channel = ref(props.provider.channel);
|
const channel = ref(props.provider.channel);
|
||||||
|
|
||||||
const formState = ref<FormState>({
|
const formState = ref<FormState>({
|
||||||
|
|
Loading…
Reference in New Issue