fix: bug#11256

This commit is contained in:
jackhoo_98 2023-03-31 10:24:39 +08:00
parent e48a9ba24f
commit 6a60407e9f
2 changed files with 2 additions and 3 deletions

View File

@ -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>({
name: '',

View File

@ -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 formState = ref<FormState>({