@@ -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 100f1b293..9b51ada22 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 462f39a33..568705b66 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 0c919526b..a91d4f6c4 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 5ecaa67b5..6de0574cc 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 235fce574..b2dc77854 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 cfe3c15df..019e16fb3 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 0d0629abe..aee6a35b1 100644
--- a/packages/client/src/widgets/timeline.vue
+++ b/packages/client/src/widgets/timeline.vue
@@ -1,7 +1,7 @@
-