diff --git a/src/App.vue b/src/App.vue
index f14d247a..a5b01dbc 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -6,6 +6,7 @@
:theme-overrides="getThemeOverrides"
>
+
@@ -13,8 +14,9 @@
diff --git a/src/components/AppProvider/index.ts b/src/components/AppProvider/index.ts
new file mode 100644
index 00000000..07a3344e
--- /dev/null
+++ b/src/components/AppProvider/index.ts
@@ -0,0 +1,3 @@
+import AppProvider from './AppProvider.vue';
+
+export { AppProvider };
diff --git a/src/components/AppleControlBtn/index.vue b/src/components/AppleControlBtn/index.vue
index 26684db0..b377dda4 100644
--- a/src/components/AppleControlBtn/index.vue
+++ b/src/components/AppleControlBtn/index.vue
@@ -53,23 +53,28 @@ const filterBtnList = computed(() => {
const isFull = computed(() => {
return props.narrow && screenfullFn(true)
})
-const btnList = [
- {
- title: '关闭',
- key: 'close',
- icon: CloseIcon
- },
- {
- title: '缩小',
- key: 'remove',
- icon: RemoveIcon
- },
- {
- title: isFull ? '缩小' : '放大',
- key: props.narrow ? 'fullResize' : 'resize',
- icon: ResizeIcon
- }
-]
+
+const btnList: {
+ title: string,
+ key: "close" | "remove" | "resize" | "fullResize",
+ icon: any
+}[] = [
+ {
+ title: '关闭',
+ key: 'close',
+ icon: CloseIcon
+ },
+ {
+ title: '缩小',
+ key: 'remove',
+ icon: RemoveIcon
+ },
+ {
+ title: isFull ? '缩小' : '放大',
+ key: props.narrow ? 'fullResize' : 'resize',
+ icon: ResizeIcon
+ }
+ ]
const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {
if (key === 'fullResize') screenfullFn()
@@ -80,7 +85,7 @@ const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {