From 0cf4f2e518eba0de3b303bc20da93ab5d7299302 Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 9 Oct 2018 13:25:23 +0800 Subject: [PATCH] fix bug --- src/components/AD/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AD/index.vue b/src/components/AD/index.vue index 2e3437e2..56ef8e19 100644 --- a/src/components/AD/index.vue +++ b/src/components/AD/index.vue @@ -12,7 +12,7 @@ export default { watch: { '$route.path': { handler: function(val, oldVal) { - window._codefund.serve() + window._codefund && window._codefund.serve() } } },