Skip to content

Commit

Permalink
fix: type check failed
Browse files Browse the repository at this point in the history
  • Loading branch information
blackstar-baba committed Jan 15, 2025
1 parent a2da657 commit 9482954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/fb-web/src/components/file/FileOperate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function onSubmit(values: Record<string, any>) {
createFile({
name: values.name,
pid: values.pid,
content: props.content,
content: encodeStringToUint8Array(props.content),
type: FILE_TYPE_FILE,
}).then((file: any) => {
if (file.id) {
Expand Down

0 comments on commit 9482954

Please sign in to comment.