mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-15 15:02:10 +08:00
fix: 打包报错
This commit is contained in:
parent
427c916273
commit
c3585a8fd1
@ -3,7 +3,7 @@
|
||||
"version": "1.0.6",
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
"build": "npm run test && vite build",
|
||||
"build": "rimraf ./dist && npm run test && vite build",
|
||||
"preview": "vite preview",
|
||||
"new": "plop --plopfile ./plop/plopfile.js",
|
||||
"test": "vue-tsc --noEmit",
|
||||
|
@ -45,12 +45,14 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import {
|
||||
GlobalSetting,
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
||||
|
||||
const props = defineProps({
|
||||
optionData: {
|
||||
|
@ -17,6 +17,7 @@ import { useChartDataFetch } from '@/hooks'
|
||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||
import { mergeTheme } from '@/packages/public/chart'
|
||||
import { isPreview } from '@/utils'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { includes } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -5,7 +5,7 @@ import cloneDeep from 'lodash/cloneDeep'
|
||||
|
||||
export const option = {
|
||||
colors: ['#1089ff', '#0000ff'],
|
||||
backgroundColor: '#00000000'
|
||||
backgroundColor: '#000000'
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType {
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"title": {
|
||||
"text": "",
|
||||
"show": true,
|
||||
"textStyle": {
|
||||
"color": "#BFBFBF",
|
||||
|
Loading…
x
Reference in New Issue
Block a user