From 8c3427395c1d996c9916813395e6befcd9522fa5 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 27 Apr 2023 11:57:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=97=B6=E5=87=BA=E7=8E=B0undefined=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/playground/app.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/playground/app.vue b/src/pages/playground/app.vue index aa0fa67..7ed4518 100644 --- a/src/pages/playground/app.vue +++ b/src/pages/playground/app.vue @@ -55,9 +55,9 @@ export default { } catch (e) {} } - this.html = code.html - this.js = code.js - this.css = code.css + this.html = code.html || '' + this.js = code.js || '' + this.css = code.css || '' this.updatePreview() } this.$needUpdate = true