From 0234a49f90a7e9fb62711124d67ff53cdccefcc8 Mon Sep 17 00:00:00 2001 From: shylinux Date: Sun, 11 Sep 2022 22:11:18 +0800 Subject: [PATCH] opt some --- frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.js b/frame.js index d07c37c6..f1b4ccfa 100644 --- a/frame.js +++ b/frame.js @@ -291,7 +291,7 @@ Volcanos(chat.ONAPPEND, {help: "渲染引擎", _init: function(can, meta, list, }, _status: function(can, list, status) { status = status||can._status, can.onmotion.clear(can, status) can.core.List(can.base.Obj(list, can.core.Value(can, [chat.ONEXPORT, mdb.LIST])), function(item) { item = can.base.isObject(item)? item: {name: item} - msg = can._msg, item.name == "cost" && (item.value += "/"+msg.Option("_cost")+"ms") + // msg = can._msg, msg && item.name == "cost" && (item.value += "/"+msg.Option("_cost")+"ms") if (item.value && item.value.indexOf && item.value.indexOf("http") == 0) { item.value = can.page.Format(html.A, item.value) } can.page.Append(can, status, [{view: can.base.join([html.ITEM, item.name]), title: item.name, list: [ {text: [item.name, html.LABEL]}, {text: [": ", html.LABEL]}, {text: [(item.value||"")+"", html.SPAN, item.name]},