Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liov committed Oct 11, 2024
1 parent baf07f4 commit 35915fa
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@
path = thirdparty/example
url = https://github.com/hopeio/example
branch = main
[submodule "thirdparty/wopan-sdk-go"]
path = thirdparty/wopan-sdk-go
url = https://github.com/liov/wopan-sdk-go
branch = main
7 changes: 3 additions & 4 deletions client/uniapp/src/pages/wopan/view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ navigationBarTitleText: 'file-view',
<script setup lang="ts">
import { useWopanStore } from '@/store/wopan'
import {onLoad} from "@dcloudio/uni-app";
import {storeToRefs} from "pinia";
import * as wopan from "diamond/wopan";
import { useToast } from 'wot-design-uni'
import {FileNode} from "@/model/wopan";
Expand Down Expand Up @@ -104,9 +103,9 @@ async function deleteFile(){
console.log("deleteFile")
await wopanStore.deleteCurDirFile(index.value);
total.value = wopanStore.curDir.subFiles.length
if(index.value == wopanStore.curDir.subFiles.length){
await wopanStore.FileList()
}
if(index.value == wopanStore.curDir.subFiles.length && !hasMore){
await wopanStore.FileList()
}
if(index.value == wopanStore.curDir.subFiles.length){
if(hasMore){
hasMore = false
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/diamond
Submodule diamond updated 1 files
+4 −3 src/fs/range_file.ts
2 changes: 1 addition & 1 deletion thirdparty/initialize
Submodule initialize updated 1 files
+1 −1 global_config.go
1 change: 1 addition & 0 deletions thirdparty/wopan-sdk-go
Submodule wopan-sdk-go added at 65ce29

0 comments on commit 35915fa

Please sign in to comment.