From 3b182c41759d8740965f4399416520759b8509bc Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 9 Apr 2024 16:36:38 +0800 Subject: [PATCH] refactor(slots): remove useless code --- pages/rendering/slots/child.uvue | 8 -------- pages/rendering/slots/slots.uvue | 12 ------------ 2 files changed, 20 deletions(-) diff --git a/pages/rendering/slots/child.uvue b/pages/rendering/slots/child.uvue index 52f0f1b..703a70d 100644 --- a/pages/rendering/slots/child.uvue +++ b/pages/rendering/slots/child.uvue @@ -21,13 +21,5 @@ default : { msg : string }, footer : { msg : string } }>, - data() { - return {} - }, - methods: {} } - - \ No newline at end of file diff --git a/pages/rendering/slots/slots.uvue b/pages/rendering/slots/slots.uvue index 5335691..3c1f8ef 100644 --- a/pages/rendering/slots/slots.uvue +++ b/pages/rendering/slots/slots.uvue @@ -18,17 +18,5 @@ import child from './child.uvue'; export default { components: { child }, - data() { - return {} - }, - onLoad() { - - }, - methods: { - - } } - - \ No newline at end of file -- GitLab