CodePudding user response:
File cannot be directly read, read after uploadCodePudding user response:
JavaScript as HTML scripts are not allowed to read a local file, unless you are using node. Js, using the fs module can read the fileCodePudding user response:
May be associated with service code, can try the url on the connection of the code, you should be able to access, but should pay attention to safety,CodePudding user response:
Don't change, change the file content to use the node of the fs module