fix: 打包报错

This commit is contained in:
yangmi 2022-07-25 17:19:17 +08:00
parent 427c916273
commit c3585a8fd1
5 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -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: {

View File

@ -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({

View File

@ -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 {

View File

@ -1,5 +1,6 @@
{
"title": {
"text": "",
"show": true,
"textStyle": {
"color": "#BFBFBF",