mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-23 20:44:42 +08:00
优化ArrayDict/DictEditor参数传递,修复formatString处理Array时的BUG
This commit is contained in:
@@ -6,7 +6,6 @@ const quickcomposer = {
|
||||
network: require("./quickcomposer/network"),
|
||||
coding: require("./quickcomposer/coding"),
|
||||
math: require("./quickcomposer/math"),
|
||||
ui: require("./quickcomposer/ui"),
|
||||
audio: require("./quickcomposer/audio"),
|
||||
image: require("./quickcomposer/image"),
|
||||
};
|
||||
|
@@ -1,50 +0,0 @@
|
||||
const showSaveDialog = (
|
||||
title,
|
||||
defaultPath,
|
||||
buttonLabel,
|
||||
message,
|
||||
extensions,
|
||||
properties
|
||||
) => {
|
||||
return window.utools.showSaveDialog({
|
||||
title,
|
||||
defaultPath,
|
||||
buttonLabel,
|
||||
message,
|
||||
properties,
|
||||
filters: [
|
||||
{
|
||||
name: "文件",
|
||||
extensions,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const showOpenDialog = (
|
||||
title,
|
||||
defaultPath,
|
||||
buttonLabel,
|
||||
message,
|
||||
extensions,
|
||||
properties
|
||||
) => {
|
||||
return window.utools.showOpenDialog({
|
||||
title,
|
||||
defaultPath,
|
||||
buttonLabel,
|
||||
message,
|
||||
properties,
|
||||
filters: [
|
||||
{
|
||||
name: "文件",
|
||||
extensions,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
showSaveDialog,
|
||||
showOpenDialog,
|
||||
};
|
@@ -1,6 +0,0 @@
|
||||
const { showSaveDialog, showOpenDialog } = require("./dialog");
|
||||
|
||||
module.exports = {
|
||||
showSaveDialog,
|
||||
showOpenDialog,
|
||||
};
|
Reference in New Issue
Block a user