From da58af88b42ea9ec8b01e5e65d3ffaab85a9c02c Mon Sep 17 00:00:00 2001 From: wangtengyu <wangtengyu> Date: Wed, 07 Nov 2018 10:35:53 +0800 Subject: [PATCH] no message --- src/pages/tabs/home/home.ts | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/pages/tabs/home/home.ts b/src/pages/tabs/home/home.ts index a5af2da..401ada7 100644 --- a/src/pages/tabs/home/home.ts +++ b/src/pages/tabs/home/home.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; -declare function eval(s: string): any; + @IonicPage({ name: 'home' @@ -16,7 +16,6 @@ test() { let fun = "() => console.log('test');"; - eval(fun); } ionViewDidLoad() { -- Gitblit v1.8.0