Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Mar 5, 2024
1 parent 33d9e62 commit e74f5e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/CreateLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,23 @@ const onSubmit = form.handleSubmit(async (values) => {
uploadedAt: new Date().getTime()
}
});
toast.success(`上传成功`);
toast.success(`上报成功`);
open.value = false;
store.fetch();
} catch {
toast.error(`上传失败`);
toast.error(`上报失败`);
}
});
</script>

<template>
<Dialog v-model:open="open">
<DialogTrigger as-child>
<Button variant="outline" size="sm">上传</Button>
<Button variant="outline" size="sm">上报</Button>
</DialogTrigger>
<DialogContent class="sm:max-w-[625px]">
<DialogHeader>
<DialogTitle>上传价格变动</DialogTitle>
<DialogTitle>上报价格变动</DialogTitle>
<!-- <DialogDescription>
Make changes to your profile here. Click save when you're done.
</DialogDescription> -->
Expand Down Expand Up @@ -190,7 +190,7 @@ const onSubmit = form.handleSubmit(async (values) => {
</FormField>

<DialogFooter>
<Button type="submit">上传</Button>
<Button type="submit">上报</Button>
</DialogFooter>
</form>
</DialogContent>
Expand Down

0 comments on commit e74f5e7

Please sign in to comment.