When using json output array in thinkPHP, it is displayed at the bottom of the screen: Do you want to open or save datatest.json from localhost? After selecting to open, it displays again: This file does not have an application associated with it to perform this operation. Please install the application. If the app is already installed, create an association on the "Default App Settings" page. Experts, what is the reason? Thanks
autoload2022-03-29 16:31:21
This should be a problem with iE. Change the Content-Type to "text/html;charset=utf-8" and try it