diff --git a/src/assets/images/canvas/noImage.png b/src/assets/images/canvas/noImage.png new file mode 100644 index 00000000..522694e9 Binary files /dev/null and b/src/assets/images/canvas/noImage.png differ diff --git a/src/components/Echarts/index.ts b/src/components/Echarts/index.ts deleted file mode 100644 index e25f7a08..00000000 --- a/src/components/Echarts/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -import Echarts from './index.vue' -export { Echarts } diff --git a/src/components/Echarts/index.vue b/src/components/Echarts/index.vue deleted file mode 100644 index 992cfc10..00000000 --- a/src/components/Echarts/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/LoadingComponent/index.vue b/src/components/LoadingComponent/index.vue index 80cd0f9a..67ddc9fb 100644 --- a/src/components/LoadingComponent/index.vue +++ b/src/components/LoadingComponent/index.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/UserInfo/index.vue b/src/components/UserInfo/index.vue index ba4647ce..c98614a8 100644 --- a/src/components/UserInfo/index.vue +++ b/src/components/UserInfo/index.vue @@ -12,7 +12,7 @@ round object-fit="cover" size="medium" - :src="imageUrl" + :src="Person" @error="errorHandle" /> @@ -28,6 +28,7 @@ import { NAvatar, NText } from 'naive-ui' import { renderIcon } from '@/utils' import { openDoc, logout, renderLang } from '@/utils' import { SystemSet } from '@/components/SystemSet/index' +import Person from './person.png' import { icon } from '@/plugins' const { @@ -42,8 +43,6 @@ const t = window['$t'] const modelShow = ref(false) -const imageUrl = 'https://www.naiveui.com/assets/naivelogo.93278402.svg' - // 是否失败 const fallback = ref(false) @@ -58,7 +57,7 @@ const renderUserInfo = () => { h(NAvatar, { round: true, style: 'margin-right: 12px;', - src: imageUrl + src: Person }), h('div', null, [ h('div', null, [ diff --git a/src/components/UserInfo/person.png b/src/components/UserInfo/person.png new file mode 100644 index 00000000..2f1232c9 Binary files /dev/null and b/src/components/UserInfo/person.png differ diff --git a/src/packages/components/Charts/Bars/BarCommon/config.ts b/src/packages/components/Charts/Bars/BarCommon/config.ts index 4203a6b9..d1eec9f9 100644 --- a/src/packages/components/Charts/Bars/BarCommon/config.ts +++ b/src/packages/components/Charts/Bars/BarCommon/config.ts @@ -26,6 +26,10 @@ export default class Config extends publicConfig implements CreateComponentType { data: [120, 200, 150, 80, 70, 110, 130], type: 'bar' + }, + { + data: [130, 130, 312, 268, 155, 117, 160], + type: 'bar' } ] }) diff --git a/src/packages/components/Charts/Bars/BarCommon/index.vue b/src/packages/components/Charts/Bars/BarCommon/index.vue index d9154456..b8f7cdb5 100644 --- a/src/packages/components/Charts/Bars/BarCommon/index.vue +++ b/src/packages/components/Charts/Bars/BarCommon/index.vue @@ -1,11 +1,11 @@ + + diff --git a/src/views/chart/ContentDetails/components/CanvasPage/index.ts b/src/views/chart/ContentDetails/components/CanvasPage/index.ts new file mode 100644 index 00000000..2926faf2 --- /dev/null +++ b/src/views/chart/ContentDetails/components/CanvasPage/index.ts @@ -0,0 +1,3 @@ +import CanvasPage from './index.vue' + +export { CanvasPage } diff --git a/src/views/chart/ContentDetails/components/CanvasPage/index.vue b/src/views/chart/ContentDetails/components/CanvasPage/index.vue new file mode 100644 index 00000000..5d9139fb --- /dev/null +++ b/src/views/chart/ContentDetails/components/CanvasPage/index.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/src/views/chart/ContentDetails/components/Page/index.ts b/src/views/chart/ContentDetails/components/Page/index.ts deleted file mode 100644 index 3544af76..00000000 --- a/src/views/chart/ContentDetails/components/Page/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import Page from './index.vue' - -export { Page } diff --git a/src/views/chart/ContentDetails/components/Page/index.vue b/src/views/chart/ContentDetails/components/Page/index.vue deleted file mode 100644 index cee3864d..00000000 --- a/src/views/chart/ContentDetails/components/Page/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/chart/ContentDetails/index.vue b/src/views/chart/ContentDetails/index.vue index e4e0fe84..61e6abb0 100644 --- a/src/views/chart/ContentDetails/index.vue +++ b/src/views/chart/ContentDetails/index.vue @@ -14,12 +14,43 @@ @collapse="collapsedHindle" @expand="expandHindle" > - - + + + + + + + + + + +