From b2f7fa9a9c168779a2985050cc272e9bedc67450 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 19 May 2025 18:57:53 +0800 Subject: [PATCH] add some --- plugin/input/upload.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugin/input/upload.js diff --git a/plugin/input/upload.js b/plugin/input/upload.js new file mode 100644 index 00000000..b4cacff0 --- /dev/null +++ b/plugin/input/upload.js @@ -0,0 +1,7 @@ +Volcanos(chat.ONFIGURE, {upload: { + onclick: function(event, can, meta, target, cbs) { + can.user.upload(event, can, function(msg) { + target.value = msg.Result() + }) + }, +}}) \ No newline at end of file