From 1a716297748c5d094f5a37c173f4932f005b0384 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 6 Nov 2023 16:02:19 +0800 Subject: [PATCH] add some --- plugin/state.js | 9 ++++----- plugin/story/china.js | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/plugin/state.js b/plugin/state.js index 31806397..3cd28ffa 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -57,12 +57,11 @@ Volcanos(chat.ONIMPORT, { }, }) Volcanos(chat.ONACTION, {list: [ - "刷新数据", "刷新界面", - "切换浮动", "切换全屏", + "刷新数据", "刷新界面", "切换浮动", "切换全屏", // "远程控制", "共享工具", - "共享工具", - "打开链接", "生成链接", - "生成脚本", "生成图片", + "共享工具", "打开链接", "生成链接", + "生成脚本", + // "生成图片", ["视图", "参数", "操作", "状态", "专注", "项目", "预览", "演示"], ["数据", "保存参数", "清空参数", "复制数据", "下载数据", "清空数据", "添加工具"], ["调试", "查看文档", "查看脚本", "查看源码", "查看配置", "删除工具"], diff --git a/plugin/story/china.js b/plugin/story/china.js index b4d8670f..a93527c4 100644 --- a/plugin/story/china.js +++ b/plugin/story/china.js @@ -5,7 +5,7 @@ Volcanos(chat.ONIMPORT, { tooltip: {formatter: function (item) { return item.name+': '+(item.value||"0") }}, visualMap: {min: 0, max: max, text: [max]}, } if (can.Conf(ctx.STYLE) == html.FLOAT && !can.page.ClassList.has(can, can._fields, html.FLOAT)) { msg.Option(ice.MSG_STATUS, ""), can.onlayout._float(can) } - can.page.requireModules(can, ["echarts/dist/echarts.js"], function() { can.misc.GET(can, "/wiki/geoarea/city.json", function(text) { can.onimport.adcode = JSON.parse(text) + can.page.requireModules(can, ["echarts/dist/echarts.min.js"], function() { can.misc.GET(can, "/wiki/geoarea/city.json", function(text) { can.onimport.adcode = JSON.parse(text) !can.onimport.adcode[path] && can.core.Item(can.onimport.adcode, function(code, list) { list.name == path && (path = code) }) can.page.style(can, can._output, html.HEIGHT, can.ConfHeight(), html.WIDTH, can.ConfWidth()) function load(path, name) { if (cache[path]) { return cache[path]._tabs.click() } can.onimport.load(can, path, function(text) { echarts.registerMap(path, JSON.parse(text))