微信小程序调用数据库数据得到的数据不能显示?

小程序 文章 2021-04-02 15:42 877 0 全屏看文

AI助手支持GPT4.0

微信小程序调用数据库数据得到的数据不能显示?Can't the data obtained by calling database data in WeChat applet be displayed?

微信小程序调用数据库数据得到的数据不能显示?

在微信小程序中,调用外部mysql数据库,得到的数据经调试器观察数据如下图:

不知道是什么问题,这个数据不能被小程序调用,请高手帮助解答一下。

同样的程序调用其他的数据库没有问题,图片如下:

In the wechat applet, call the external MySQL database, and observe the data through the debugger, as shown in the figure below: I don't know what the problem is, this data can't be called by the applet, please help me. The same program has no problem calling other databases. The picture is as follows:

回答:

智敏:

渲染不到数据,调试器查看,发现得到的数据不同


Mr.Zhao:

NB了啊,小程序直连mysql

张小怂呦:

为什么不能调用?是渲染的时候没数据吗?

-EOF-

AI助手支持GPT4.0