Commit d855bea0b2da3aaecd0fabf63f0dba22739b9ca2

Authored by yvan.ni
1 parent 66f90fc9

--导航跳转--

Showing 1 changed file with 3 additions and 3 deletions
components/diy_nav/diy_nav.js
@@ -45,9 +45,9 @@ Component({ @@ -45,9 +45,9 @@ Component({
45 customMethod: function () { }, 45 customMethod: function () { },
46 //智能跳转 46 //智能跳转
47 go_url:function (e) { 47 go_url:function (e) {
48 - var url=e.currentTarget.dataset.url;  
49 - console.log('url==>', url);  
50 - // getApp().goto(url); 48 + var url=e.currentTarget.dataset.url;
  49 + console.log('url==>', url);
  50 + getApp().goto(url);
51 } 51 }
52 } 52 }
53 }) 53 })
54 \ No newline at end of file 54 \ No newline at end of file