Layui. Use ([' layer ', 'form', 'element'], function () {
Var layer=layui. Layer
, form=layui. Form
Element, element=layui.
});
</script>
If you don't write, layui page some failures, but if you use will have an error message:
Layui. Js: 2 GET http://localhost:8080/ScientificResearch/references/layui/css/modules/layer/defaults/layer.css? V=3.1.1 net: : ERR_ABORTED 404
N.l ink @ layui. Js: 2
N.a. DDCSS @ layui. Js: 2
Ready @ layer. Js: 2
(anonymous) @ layer. Js: 2
(anonymous) @ layer. Js: 2
My file is not this, but does not affect the effect of the page, for a great god for help
CodePudding user response:
Not solved, and an error without rhyme or reasonCodePudding user response:
As if you imported the layui js and imported the layer of js rightCodePudding user response:
For springmvc interceptors if written interception failure I remember all the words will lead to a static fileCodePudding user response:
2 & lt; The servlet - name> Default
3 & lt; Url - pattern> *. Jpg
4 & lt;/servlet - mapping>
5 & lt; The servlet - mapping>
6 & lt; The servlet - name> Default
7 & lt; Url - pattern> *. Js
8 & lt;/servlet - mapping>
9 & lt; The servlet - mapping>
10 & lt; The servlet - name> Default
11 & lt; Url - pattern> *. Css
12