From 9a996e501173a1c4bf56953f943743a20464e89e Mon Sep 17 00:00:00 2001 From: shylinux Date: Wed, 6 May 2020 13:11:16 +0800 Subject: [PATCH] opt some --- pane/Footer.js | 1 + pane/Header.js | 1 + 2 files changed, 2 insertions(+) diff --git a/pane/Footer.js b/pane/Footer.js index 7edf4125..81421432 100644 --- a/pane/Footer.js +++ b/pane/Footer.js @@ -9,6 +9,7 @@ Volcanos("onaction", {help: "交互数据", list: [], }) Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg, list, cb, target) { can._output.innerHTML = ""; + msg = can.request({}, {}) can.run(msg._event, [], function(msg) { console.log(can._root, can._name, "show", msg.result) can.core.List(msg.result, function(title) { diff --git a/pane/Header.js b/pane/Header.js index 685afff3..4d155257 100644 --- a/pane/Header.js +++ b/pane/Header.js @@ -18,6 +18,7 @@ Volcanos("onaction", {help: "交互数据", list: [], }) Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg, list, cb, target) { can._output.innerHTML = ""; + msg = can.request({}, {}) can.run(msg._event, [], function(msg) { // if (Volcanos.meta.follow["debug"]) { debugger } can.Conf("username", msg.Option("user.nick")||msg.Option("user.name"))