mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
try to fix
This commit is contained in:
parent
c81932d383
commit
f88d54baa4
1 changed files with 3 additions and 1 deletions
|
|
@ -5,13 +5,14 @@ interface Feedback {
|
|||
message: string;
|
||||
feedbackType?: string;
|
||||
contactEmail?: string;
|
||||
anonymous: boolean
|
||||
}
|
||||
|
||||
const loading = ref(false);
|
||||
const error = ref<unknown>(null);
|
||||
const success = ref(false);
|
||||
|
||||
const feedback = reactive<Feedback>({ message: "", contactEmail: "" });
|
||||
const feedback = reactive<Feedback>({ message: "", anonymous: false,contactEmail: "" });
|
||||
|
||||
const feedbackOptions = [
|
||||
{ label: "🐞 Bug", value: "bug" },
|
||||
|
|
@ -37,6 +38,7 @@ async function handleSubmit(type?: string) {
|
|||
const body: Feedback = {
|
||||
message: feedback.message,
|
||||
feedbackType: feedback.feedbackType,
|
||||
anonymous: feedback.anonymous,
|
||||
contactEmail: feedback.contactEmail,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue