From ce214722c76176b61f4c49e6a65fa4b108b7159f Mon Sep 17 00:00:00 2001 From: shy Date: Sat, 26 Mar 2022 23:07:30 +0800 Subject: [PATCH] opt some --- frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.js b/frame.js index 67ddfb95..5ced5e6d 100644 --- a/frame.js +++ b/frame.js @@ -193,7 +193,7 @@ Volcanos("onappend", {help: "渲染引擎", list: [], _init: function(can, meta, list = can.base.getValid(list, can.core.Item(meta)) list = can.base.Obj(list, can.core.Value(can, [chat.ONACTION, mdb.LIST])) var _list = []; for (var i = 0; i < list.length; i++) { - switch (list[i]) { case "": break + switch (list[i]) { case "": _list.push(""); break case "page": _list.push({type: "text", name: "limit", value: can._msg.Option("limit")}) _list.push({type: "text", name: "offend", value: can._msg.Option("offend")})