本帖最后由 Ellia.Duan 于 2024-7-24 15:16 编辑
- <div>const inputData = [
- { "leftParen": "", "column": "BID", "operator": "Equal", "type": "string", "value": "qq", "rightParen": "", "formula": "" },
- { "relation": "and", "leftParen": "", "column": "BID", "operator": "Equal", "type": "boolean", "value": true, "rightParen": "", "formula": "" },
- { "relation": "and", "leftParen": "", "column": "BID", "operator": "Equal", "type": "number", "value": 10, "rightParen": "", "formula": "" },
- { "relation": "or", "leftParen": "", "column": "BID", "operator": "Equal", "type": "公式", "value": "12", "rightParen": "", "formula": "aa" },
- { "relation": "and", "leftParen": "", "column": "BID", "operator": "Equal", "type": "number", "value": 110, "rightParen": "", "formula": "" }
- ];</div>
复制代码
我要自定义属性面板,数据过滤有没有api,我传入特定值后生成官方的数据格式进行设置和回显。上面的是自定义过滤弹窗组件得到的值,要转换成什么样的数据啊?
|
|