Skip to content

Commit

Permalink
1.1.3 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobaidadada committed Jan 8, 2025
1 parent c0fdd81 commit f4f0f1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filecat",
"version": "1.1.2",
"version": "1.1.3",
"description": "filecat 文件管理器",
"author": "xiaobaidadada",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export function NavIndexContainer(props: {
update_list(list);
setItems(list)
setEdit(true)
set_nav_index_add_item_by_now_list(undefined)
}
}, [nav_index_add_item_by_now_list]);
const addDirItem = () => {
Expand All @@ -131,6 +132,7 @@ export function NavIndexContainer(props: {
const cancel = () => {
setEdit_index([]);
setEdit(false);
if(itemp_recover)
setItems(itemp_recover);
set_unfold(false)
}
Expand Down
3 changes: 3 additions & 0 deletions src/web/project/component/toolbox/rdp/Rdp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {loadJsFileOnce} from "../../../util/file";


// require('./client/js/rle');
let load;
export function Rdp() {
const { t } = useTranslation();
const [headerMin, setHeaderMin] = useRecoilState($stroe.header_min);
Expand All @@ -34,6 +35,7 @@ export function Rdp() {
const loadfile = async ()=> {
try {
await loadJsFileOnce("rle.js");
load = true;
} catch (e) {
NotyFail("加载资源失败");
return;
Expand All @@ -42,6 +44,7 @@ export function Rdp() {
}
var client = null;
useEffect(() => {
if(!load)
loadfile();
return ()=>{
if (client) {
Expand Down

0 comments on commit f4f0f1d

Please sign in to comment.