@@ -36,10 +36,10 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer, MkMiniChart
},
+ extends: widget,
props: {
foldable: {
type: Boolean,
diff --git a/packages/client/src/widgets/memo.vue b/packages/client/src/widgets/memo.vue
index 100f1b2934..9b51ada220 100644
--- a/packages/client/src/widgets/memo.vue
+++ b/packages/client/src/widgets/memo.vue
@@ -4,7 +4,7 @@
-
+
@@ -26,10 +26,10 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer
},
+ extends: widget,
data() {
return {
diff --git a/packages/client/src/widgets/notifications.vue b/packages/client/src/widgets/notifications.vue
index 462f39a339..568705b661 100644
--- a/packages/client/src/widgets/notifications.vue
+++ b/packages/client/src/widgets/notifications.vue
@@ -1,7 +1,7 @@
{{ $ts.notifications }}
-
+
@@ -36,12 +36,12 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer,
XNotifications,
},
+ extends: widget,
data() {
return {
diff --git a/packages/client/src/widgets/photos.vue b/packages/client/src/widgets/photos.vue
index 0c919526b0..a91d4f6c49 100644
--- a/packages/client/src/widgets/photos.vue
+++ b/packages/client/src/widgets/photos.vue
@@ -36,10 +36,10 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer,
},
+ extends: widget,
data() {
return {
images: [],
diff --git a/packages/client/src/widgets/post-form.vue b/packages/client/src/widgets/post-form.vue
index 5ecaa67b5a..6de0574cc1 100644
--- a/packages/client/src/widgets/post-form.vue
+++ b/packages/client/src/widgets/post-form.vue
@@ -14,10 +14,10 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
XPostForm,
},
+ extends: widget,
});
diff --git a/packages/client/src/widgets/rss.vue b/packages/client/src/widgets/rss.vue
index 235fce574a..b2dc77854e 100644
--- a/packages/client/src/widgets/rss.vue
+++ b/packages/client/src/widgets/rss.vue
@@ -5,7 +5,7 @@
-
@@ -33,10 +33,10 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer
},
+ extends: widget,
data() {
return {
items: [],
diff --git a/packages/client/src/widgets/server-metric/index.vue b/packages/client/src/widgets/server-metric/index.vue
index cfe3c15df7..019e16fb33 100644
--- a/packages/client/src/widgets/server-metric/index.vue
+++ b/packages/client/src/widgets/server-metric/index.vue
@@ -1,9 +1,9 @@
{{ $ts._widgets.serverMetric }}
-
+
-
+
@@ -44,7 +44,6 @@ const widget = define({
});
export default defineComponent({
- extends: widget,
components: {
MkContainer,
XCpuMemory,
@@ -53,6 +52,7 @@ export default defineComponent({
XMemory,
XDisk,
},
+ extends: widget,
data() {
return {
meta: null,
diff --git a/packages/client/src/widgets/timeline.vue b/packages/client/src/widgets/timeline.vue
index 0d0629abe2..aee6a35b1d 100644
--- a/packages/client/src/widgets/timeline.vue
+++ b/packages/client/src/widgets/timeline.vue
@@ -1,7 +1,7 @@
-