From 304bbee81f9a53cd66386aacbf1c66f620990c02 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Tue, 9 Aug 2022 14:34:24 +0800 Subject: [PATCH] opt some --- plugin/local/code/vimer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/local/code/vimer.js b/plugin/local/code/vimer.js index 58ea1406..d5f6ae4a 100644 --- a/plugin/local/code/vimer.js +++ b/plugin/local/code/vimer.js @@ -273,7 +273,7 @@ Volcanos(chat.ONACTION, {help: "控件交互", list: [nfs.SAVE, code.COMPILE, co can.onaction._runs(can.request(event, {file: (can.base.trimSuffix(can.Option(nfs.FILE), can.base.Ext(can.Option(nfs.FILE)))+nfs.ZML).split("/").pop()}), can, button) }, dream: function(event, can, button) { - can.onaction._runs(can.request(event), can, button, function(msg) { can.ui.dreams.refresh() + can.onaction._runs(can.request(event, {name: can.base.trimSuffix(can.Option(nfs.FILE), ice.PT+can.base.Ext(can.Option(nfs.FILE)))}), can, button, function(msg) { can.ui.dreams.refresh() can.onimport.tabview(can, can.Option(nfs.PATH), msg.Option(mdb.NAME), web.DREAM) // 显示空间 can.user.toastSuccess(can) })