Commit eed1287cdf08af8d3938892ad4937ec17b6a3677

Authored by liuqimichale
1 parent e79c5054

登录

index/index.html
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 <script src="../resource/lib/dateUtils/DateUtils.js"></script> 51 <script src="../resource/lib/dateUtils/DateUtils.js"></script>
52 <script src="../resource/lib/jqueryform/jquery.form.js"></script> 52 <script src="../resource/lib/jqueryform/jquery.form.js"></script>
53 53
54 -<script src="../topages/topagesTmp.js"></script> 54 +<script src="../topages/topagesTmp.js?a=1"></script>
55 <!--<script src="../topages/workquery/workquery.js"></script>--> 55 <!--<script src="../topages/workquery/workquery.js"></script>-->
56 </body> 56 </body>
57 </html> 57 </html>
58 \ No newline at end of file 58 \ No newline at end of file
topages/topagesTmp.js
@@ -10,7 +10,7 @@ function Router(){ @@ -10,7 +10,7 @@ function Router(){
10 }; 10 };
11 11
12 this.refresh = function(){ 12 this.refresh = function(){
13 - this.curUrl = location.hash.slice(1) || '/index'; 13 + this.curUrl = location.hash.slice(1) || '/workfill';
14 console.log(this.curUrl) 14 console.log(this.curUrl)
15 this.routes[this.curUrl](); 15 this.routes[this.curUrl]();
16 }; 16 };