Преглед на файлове

refactor: /deep/ => ::v-deep

wu.jian2 преди 1 година
родител
ревизия
49660d6dd2
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 3 3
      data-room-ui/packages/BigScreenDesign/index.vue
  2. 1 1
      data-room-ui/packages/DataSourceManagement/src/checkDatasource.vue

+ 3 - 3
data-room-ui/packages/BigScreenDesign/index.vue

@@ -406,7 +406,7 @@ export default {
     },
     // 自定义属性更新
     updateSetting (config) {
-      if (config.type === 'map'||config.type === 'video') {
+      if (config.type === 'map' || config.type === 'video') {
         config.key = new Date().getTime()
       }
       this.changeChartConfig(_.cloneDeep(config))
@@ -505,13 +505,13 @@ export default {
             margin-right: 16px;
           }
 
-          /deep/ .el-select {
+          ::v-deep .el-select {
             width: 150px !important;
           }
         }
       }
 
-      /deep/ .el-loading-mask {
+      ::v-deep .el-loading-mask {
         background-color: transparent !important;
       }
     }

+ 1 - 1
data-room-ui/packages/DataSourceManagement/src/checkDatasource.vue

@@ -55,7 +55,7 @@ export default {
 
 <style lang="scss" scoped>
 @import '../../assets/style/bsTheme.scss';
-/deep/ .el-dialog__body{
+::v-deep .el-dialog__body{
   min-height: 0 !important;
 }
 .item{