fix:去掉加载状态

main
liu.shiyi 1 year ago
parent 7118950e7f
commit e8b291dfc6

@ -1,8 +1,5 @@
<template>
<div
v-loading="config.loading"
element-loading-text="数据加载中"
:element-loading-background="loadingBackground"
style="width: 100%;height: 100%"
class="bs-design-wrap"
>

@ -1,8 +1,5 @@
<template>
<div
v-loading="config.loading"
element-loading-text="数据加载中"
:element-loading-background="loadingBackground"
style="width: 100%;height: 100%"
class="bs-design-wrap"
>

@ -1,8 +1,5 @@
<template>
<div
v-loading="config.loading"
element-loading-text="数据加载中"
:element-loading-background="loadingBackground"
style="width: 100%;height: 100%"
class="bs-design-wrap "
>

@ -1,8 +1,5 @@
<template>
<div
v-loading="config.loading"
element-loading-text="图表加载中"
:element-loading-background="loadingBackground"
style="width: 100%;height: 100%"
class="bs-design-wrap bs-custom-component"
:class="{'light-theme':customTheme === 'light','auto-theme':customTheme !=='light'}"

@ -1,8 +1,5 @@
<template>
<div
v-loading="config.loading"
element-loading-text="图表加载中"
:element-loading-background="loadingBackground"
style="width: 100%;height: 100%"
class="bs-design-wrap bs-custom-component"
:class="{'light-theme':customTheme === 'light','auto-theme':customTheme !=='light'}"

@ -94,10 +94,6 @@ export default {
})
return newDataset
},
// 组件数据加载时的背景颜色
loadingBackground () {
return this.customTheme === 'light' ? '#ffffff' : '#151A26'
},
isPreview () {
return (this.$route.path === window?.BS_CONFIG?.routers?.previewUrl) || (this.$route.path === '/big-screen/preview')
}

Loading…
Cancel
Save