public void AddLabelTest() { var lb = new ControlLabel() { form_id = 81, label_name_chs = "文本测试", data_type = DataType.String, form = null, inner_value = "", label_type = LabelType.condition, label_config = new LabelConfig() { control_config = new ControlConfig() { control_type = "input", control_sort = 1, group_name = "基础", control_options = new List <Option>() { new Option() { key = "placeholder", value = "你好" }, new Option() { key = "readonly", value = false }, } }, database_config = null, }, }; _controller.AddLabel(lb); }