Layui use customselect Error: the customselect.js of the requested item cannot be found, 404

It appears when using the code of a drop-down selection box found on the Internet in layui,

The JS in the folder cannot be found is displayed. After reading the error request path, there are two more folders. The path in layui.config is written at the same level as in script. I think this path is OK

Later, the path in the config base tried to.. /.. /. The superior of the superior found the JS file correctly.

This problem is actually a path problem. Let’s see if there are more levels.

Similar Posts: