mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
脚本运行后就自动保存,保存时不关闭界面
This commit is contained in:
@@ -89,7 +89,7 @@ export default {
|
||||
);
|
||||
}),
|
||||
|
||||
showMessageBox: (message, icon = "success", time) => {
|
||||
showMessageBox: (message, icon = "success", time, position = "top") => {
|
||||
message = _.truncate(message, { length: 1200 });
|
||||
if (icon === "success") icon = "positive";
|
||||
if (icon === "error") icon = "negative";
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
type: icon,
|
||||
message: message,
|
||||
timeout: time,
|
||||
position: "top",
|
||||
position: position,
|
||||
actions:
|
||||
time === 0
|
||||
? [
|
||||
|
Reference in New Issue
Block a user