liu.shiyi преди 1 година
родител
ревизия
e8b291dfc6

+ 0 - 3
data-room-ui/packages/BasicComponents/ScreenScrollBoard/index.vue

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

+ 0 - 3
data-room-ui/packages/BasicComponents/ScreenScrollRanking/index.vue

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

+ 0 - 3
data-room-ui/packages/BasicComponents/Tables/index.vue

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

+ 0 - 3
data-room-ui/packages/EchartsRender/index.vue

@@ -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'}"

+ 0 - 3
data-room-ui/packages/PlotRender/index.vue

@@ -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'}"

+ 0 - 4
data-room-ui/packages/js/mixins/commonMixins.js

@@ -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')
     }