Compare commits

...

1 Commits

Author SHA1 Message Date
Noo6
b56e033773 fix: sftp open file on windows 2024-11-14 14:18:32 +08:00

View File

@@ -113,7 +113,7 @@ class _SftpMissionPageState extends State<SftpMissionPage> {
children: [
IconButton(
onPressed: () {
final idx = status.req.localPath.lastIndexOf('/');
final idx = status.req.localPath.lastIndexOf(Pfs.seperator);
final dir = status.req.localPath.substring(0, idx);
LocalFilePage.route.go(
context,