Open lainbo opened 1 year ago
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <script> const { open, onChange } = useFileDialog({ accept: '.szjc', }) console.log("open:", open) </script> </body> </html>
When using the shortcut key to delete the log message, the entire useFileDialog will be deleted. In this example, after pressing the shortcut key, only an empty script tag will remain.
useFileDialog
Yeah, it deletes every line containing the letters "log" in succession. Kind of a big oversight.
When using the shortcut key to delete the log message, the entire
useFileDialog
will be deleted. In this example, after pressing the shortcut key, only an empty script tag will remain.