Three development environments of jquery framework, how to extract url and other configuration files separately, and read different environments according to different parameters

the existing pc-side management system, the framework is that jquery, has three sets of development environment (test/dev/prod), each time only by commenting the other two url to read the code, how to use parameters to dynamically read files extracted separately by url; can be set to json files? Ask for the advice of the great god

Mar.22,2021

object match? Does the development environment have markers (similar to a unique id value)

Menu