数据大屏添加数据处理后就报错

Blade 未结 1 849
SeventySevenChi
SeventySevenChi 2021-01-14 11:46

一、该问题的重现步骤是什么?

1. 1610595736(1).png输入响应的配置地址和参数,然后点击保存没有报错,

2. 输入数据处理配置信息1610595747(1).png,就报错了

3.报错信息如下


二、你期待的结果是什么?实际看到的又是什么?

正常保存json

[{"title":"进度条","name":"进度条","icon":"icon-progress","img":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABQCAIAAAB3SddxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKE1hY2ludG9zaCki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6WNDUrmR59yCOo99moGv2PchAxG3U6lX0/4GLZsZ+o5YDyODqHNZGk4cuTOOobLsHIf0DeSxx8xoGZdIaqpx7Lxq40eYOazSaWxieQcLl7Cvmx3bOZe6WRfoeI+n/uGmJ8q9A+IimsbaBzj8I8+/6p5o03K2KlqedE+xclj/ML3HaPZO6FhYid29h9nN7G5GXaBuAeb7zGunetrFXZP/6Mk8v3IOr2w7OZMzTJ16+pilvP5W06RSNm6GNLo/JvYT256+tGNhXfT5d/BrD+oCgPkBC+6k6prJhlgpKMXRg9xy64SOhaVyeiMjg0l7btsk4qpM/jrFdddP6FXG/9upNApLZeJPZsxL2ienXgOmoQl7aEKvwlI5eAjP2uQzKvw4J8Kc/3dy0VUOmkZrB19/6ZLc3Fa2Kpq3uCRXUdz3EL3HaFnmnuLKt6bun+jPvViQe6G6+jTad9CymaHviR1g5I+r/MWxYQ5td3HjosJfHP9fO6ON2sarvJ0RP803l9fOEARBEARBEARBEARBEARBEARBEIQpyH/YlC3CnfCnkAAAAABJRU5ErkJggg==","top":356.04,"left":303.6,"data":{"label":"人数增涨","value":40,"data":80},"dataFormatter":"{}","component":{"width":400,"height":80,"name":"progress","prop":"progress"},"option":{"type":"line","color":"#fff","fontSize":24,"suffixColor":"#fff","strokeWidth":18,"fontWeight":"normal","borderColor":"#564AA3","width":400,"height":80},"index":"fec6b4b5-6bfc-4456-8f7a-d8202a7a5b51","zIndex":0,"dataType":1,"url":"/image/seventy-seven-dynamic/dynamic-mode-value/get-data-by-visual","dataMethod":"get","dataQuery":"{\"key\":\"a\",\n\"status\":\"b\",\n\"tenantId\":\"413882\",\n\"modeId\":\"1346680713382182913\"\n}"}]

异常json

[{"title":"进度条","name":"进度条","icon":"icon-progress","img":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABQCAIAAAB3SddxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFFmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2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OmoQl7aEKvwlI5eAjP2uQzKvw4J8Kc/3dy0VUOmkZrB19/6ZLc3Fa2Kpq3uCRXUdz3EL3HaFnmnuLKt6bun+jPvViQe6G6+jTad9CymaHviR1g5I+r/MWxYQ5td3HjosJfHP9fO6ON2sarvJ0RP803l9fOEARBEARBEARBEARBEARBEARBEIQpyH/YlC3CnfCnkAAAAABJRU5ErkJggg==","top":356.04,"left":303.6,"data":{"label":"人数增涨","value":40,"data":80},"dataFormatter":"(option)=>{let data ={data:option.data.beginNumber}console.log(data);return data}","component":{"width":400,"height":80,"name":"progress","prop":"progress"},"option":{"type":"line","color":"#fff","fontSize":24,"suffixColor":"#fff","strokeWidth":18,"fontWeight":"normal","borderColor":"#564AA3","width":400,"height":80},"index":"fec6b4b5-6bfc-4456-8f7a-d8202a7a5b51","zIndex":0,"dataType":1,"url":"/image/seventy-seven-dynamic/dynamic-mode-value/get-data-by-visual","dataMethod":"get","dataQuery":"{\"key\":\"a\",\n\"status\":\"b\",\n\"tenantId\":\"413882\",\n\"modeId\":\"1346680713382182913\"\n}"}]


后台报错信息:

消息不能读取:JSON parse error: Unexpected character ('\' (code 92)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('\' (code 92)): was expecting double-quote to start field name

 at [Source: (PushbackInputStream); line: 1, column: 4]

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

avue-data数据大屏  在windows10系统里面

四、请提供详细的错误堆栈信息,这很重要。

查看上面信息

五、若有更多详细信息,请在下面提供。

1条回答
  •  admin
    admin (楼主)
    2021-01-14 16:45

    商业版答疑规则见:https://sns.bladex.cn/article-14990.html

    请将账号邮箱修改为下单购买授权的qq邮箱便可咨询商业版疑问

    修改完邮箱后请将此贴删除并重新发一贴


    0 讨论(1)
提交回复