fix: 修改文件建构

This commit is contained in:
奔跑的面条
2022-04-14 10:05:57 +08:00
parent 9e9410533c
commit 3c85322450
76 changed files with 76 additions and 117 deletions
-3
View File
@@ -1,3 +0,0 @@
import AppProvider from './AppProvider.vue';
export { AppProvider };
-3
View File
@@ -1,3 +0,0 @@
import ErrorComponent from './index.vue';
export { ErrorComponent };
-9
View File
@@ -1,9 +0,0 @@
<template>
<div>
<n-result status="error" title="错误" description="加载失败啦"> </n-result>
</div>
</template>
<script setup></script>
<style lang="scss" scoped></style>
+3
View File
@@ -0,0 +1,3 @@
import GoAppProvider from './index.vue';
export { GoAppProvider };
@@ -21,8 +21,8 @@ import {
NLoadingBarProvider
} from 'naive-ui'
import { MessageContent } from '@/components/MessageContent'
import { DialogContent } from '@/components/DialogContent'
import { LoadingContent } from '@/components/LoadingContent'
import { MessageContent } from '@/components/Plugins/MessageContent'
import { DialogContent } from '@/components/Plugins/DialogContent'
import { LoadingContent } from '@/components/Plugins/LoadingContent'
</script>
-3
View File
@@ -1,3 +0,0 @@
import GoDoc from './index.vue';
export { GoDoc };
-17
View File
@@ -1,17 +0,0 @@
<template>
<n-button quaternary @click="handleClick" title="说明文档">
<n-icon size="20" :depth="1">
<document-text-icon></document-text-icon>
</n-icon>
</n-button>
</template>
<script lang="ts" setup>
import { openDoc } from '@/utils'
import { icon } from '@/plugins'
const { DocumentTextIcon } = icon.ionicons5
const handleClick = () => {
openDoc()
}
</script>
+3
View File
@@ -0,0 +1,3 @@
import GoLangSelect from './index.vue';
export { GoLangSelect };
+3
View File
@@ -0,0 +1,3 @@
import GoReload from './index.vue';
export { GoReload };
+3
View File
@@ -0,0 +1,3 @@
import GoThemeSelect from './index.vue';
export { GoThemeSelect };
-9
View File
@@ -32,7 +32,6 @@ import Person from './person.png'
import { icon } from '@/plugins'
const {
DocumentTextIcon,
ChatboxEllipsesIcon,
PersonIcon,
LogOutOutlineIcon,
@@ -78,11 +77,6 @@ const options = ref([
type: 'divider',
key: 'd1'
},
{
label: renderLang('global.doc'),
key: 'doc',
icon: renderIcon(DocumentTextIcon)
},
{
label: renderLang('global.contact'),
key: 'contact',
@@ -116,9 +110,6 @@ const sysSetHandle = () => {
const handleSelect = (key: string) => {
switch (key) {
case 'doc':
openDoc()
break
case 'contact':
openDoc()
break
-3
View File
@@ -1,3 +0,0 @@
import LangSelect from './index.vue';
export { LangSelect };
@@ -287,7 +287,7 @@ import {
CollapseItem,
SettingItemBox,
SettingItem
} from '@/components/ChartItemSetting/index'
} from '@/components/Pages/ChartItemSetting'
const props = defineProps({
optionData: {
@@ -17,7 +17,7 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { SettingItemBox } from '@/components/ChartItemSetting/index'
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
import { ConfigType } from '@/packages/index.d'
const props = defineProps({
@@ -39,7 +39,7 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { PickCreateComponentType } from '@/packages/index.d'
import { SettingItemBox } from '@/components/ChartItemSetting/index'
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
import { renderIcon } from '@/utils'
import { icon } from '@/plugins/index'
import { EditCanvasConfigType } from '@/store/modules/chartEditStore/chartEditStore.d'
@@ -26,7 +26,7 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { PickCreateComponentType } from '@/packages/index.d'
import { SettingItemBox } from '@/components/ChartItemSetting/index'
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
const props = defineProps({
chartAttr: {
@@ -18,7 +18,7 @@ import { PickCreateComponentType } from '@/packages/index.d'
import {
SettingItemBox,
CollapseItem
} from '@/components/ChartItemSetting/index'
} from '@/components/Pages/ChartItemSetting'
const props = defineProps({
chartStyles: {
-3
View File
@@ -1,3 +0,0 @@
import Reload from './index.vue';
export { Reload };
-3
View File
@@ -1,3 +0,0 @@
import ThemeSelect from './index.vue';
export { ThemeSelect };