liting2017 6 роки тому
батько
коміт
1614932642

+ 2 - 0
src/js/newMenu/achievementList.js

@@ -264,6 +264,8 @@ $(function () {
             if (!isNaN(val) && val <= thePageLength && val > 0) {
                 thePageNo = val;
                 loadDate(thePageNo);
+            }else{
+                msg('请输入正确页码')
             }
         })
     }

+ 3 - 1
src/js/newMenu/demandList.js

@@ -9,7 +9,7 @@ import 'css/newMenu/public.css';
 import 'css/newMenu/header.css'
 import 'css/newMenu/achievementList.css';
 import 'js/public.js';
-const globalConfig={context:''}
+
 "use strict";
 $(function () {
     var thePageNo = 1,
@@ -265,6 +265,8 @@ $(function () {
             if (!isNaN(val) && val <=thePageLength && val > 0) {
                 thePageNo = val;
                 loadDate(thePageNo);
+            }else{
+                msg('请输入正确页码')
             }
         })
     }

+ 2 - 1
src/js/newMenu/serviceList.js

@@ -36,7 +36,6 @@ $(function () {
                 let newHash = hash.substr(1, hash.length)
                 if (newHash.indexOf('&') > -1) {
                     let hashArr = newHash.split('&');
-                    console.log(hashArr)
                     hashArr.map(item => {
                         if (item.indexOf('name') > -1) {
                             let names = item.split('=')
@@ -229,6 +228,8 @@ $(function () {
             if (!isNaN(val) && val <= thePageLength && val > 0) {
                 thePageNo = val;
                 loadDate(thePageNo);
+            }else{
+                msg('请输入正确页码')
             }
         })
     }

+ 2 - 3
src/js/thinkTank/policyList.js

@@ -8,9 +8,8 @@ import '../../css/thinkTank/policyList.css';
 import {
 	provinceList
 } from '../../js/NewDicProvinceList';
-const globalConfig={
-	context:''
-}
+
+
 $(function () {
 	//数据处理
 	var theKeyword, pageSize, Province;