添加index.html和alter_info.html更新LoginUserInfo,和其他页面对main.js的引入
This commit is contained in:
parent
2a90c817b6
commit
8af2993f25
|
@ -161,7 +161,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="dist/js/demo.js"></script>
|
<script src="dist/js/demo.js"></script>
|
||||||
<!-- Custom Scripts -->
|
<!-- Custom Scripts -->
|
||||||
<script src="include/main.js">
|
<script src="pages/include/main.js"></script>
|
||||||
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
|
|
|
@ -144,6 +144,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="../dist/js/demo.js"></script>
|
<script src="../dist/js/demo.js"></script>
|
||||||
<!-- date select and query -->
|
<!-- date select and query -->
|
||||||
|
<!-- Custom Scripts -->
|
||||||
|
<script src="include/main.js"></script>
|
||||||
<script>
|
<script>
|
||||||
//alert("111");
|
//alert("111");
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
@ -182,6 +184,10 @@
|
||||||
200: function(data) {// 请求成功
|
200: function(data) {// 请求成功
|
||||||
alert("更新成功!");
|
alert("更新成功!");
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
// alter
|
||||||
|
LoginUserInfo.name=name;
|
||||||
|
LoginUserInfo.email=email;
|
||||||
|
LoginUserInfo.phone=phone;
|
||||||
},
|
},
|
||||||
401:function(){// 未授权
|
401:function(){// 未授权
|
||||||
alert("未登录!");
|
alert("未登录!");
|
||||||
|
|
|
@ -143,6 +143,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="../dist/js/demo.js"></script>
|
<script src="../dist/js/demo.js"></script>
|
||||||
<!-- date select and query -->
|
<!-- date select and query -->
|
||||||
|
<!-- Custom Scripts -->
|
||||||
|
<script src="include/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -152,6 +152,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="../dist/js/demo.js"></script>
|
<script src="../dist/js/demo.js"></script>
|
||||||
<!-- date select and query -->
|
<!-- date select and query -->
|
||||||
|
<!-- Custom Scripts -->
|
||||||
|
<script src="include/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -259,6 +259,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="../dist/js/demo.js"></script>
|
<script src="../dist/js/demo.js"></script>
|
||||||
<!-- date select and query -->
|
<!-- date select and query -->
|
||||||
|
<!-- Custom Scripts -->
|
||||||
|
<script src="include/main.js"></script>
|
||||||
<script>
|
<script>
|
||||||
//alert("111");
|
//alert("111");
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
|
@ -527,6 +527,8 @@
|
||||||
<!-- AdminLTE for demo purposes -->
|
<!-- AdminLTE for demo purposes -->
|
||||||
<script src="../dist/js/demo.js"></script>
|
<script src="../dist/js/demo.js"></script>
|
||||||
<!-- date select and query -->
|
<!-- date select and query -->
|
||||||
|
<!-- Custom Scripts -->
|
||||||
|
<script src="include/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue