openatc-components 0.1.105 → 0.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -537,19 +537,19 @@ export default {
537
537
  }
538
538
  .transMiddleCrossImg2 {
539
539
  -webkit-transform-origin-y: 0;
540
- transform: scale(0.38);
540
+ transform: scale(0.27);
541
541
  margin-top: -1.5%;
542
542
  padding: 0PX;
543
543
  }
544
544
  .transMiddleCrossImg3 {
545
545
  -webkit-transform-origin-y: 0;
546
- transform: scale(0.32);
546
+ transform: scale(0.22);
547
547
  margin-top: -1%;
548
548
  padding: 0PX;
549
549
  }
550
550
  .transMiniCrossImg {
551
551
  -webkit-transform-origin-y: 0;
552
- transform: scale(0.28);
552
+ transform: scale(0.18);
553
553
  margin-top: -1.6%;
554
554
  padding: 0PX;
555
555
  }
@@ -342,19 +342,19 @@ export default {
342
342
  }
343
343
  .transMiddleCrossImg2 {
344
344
  -webkit-transform-origin-y: 0;
345
- transform: scale(0.38);
345
+ transform: scale(0.27);
346
346
  margin-top: -1.5%;
347
347
  padding: 0PX;
348
348
  }
349
349
  .transMiddleCrossImg3 {
350
350
  -webkit-transform-origin-y: 0;
351
- transform: scale(0.32);
351
+ transform: scale(0.22);
352
352
  margin-top: -1%;
353
353
  padding: 0PX;
354
354
  }
355
355
  .transMiniCrossImg {
356
356
  -webkit-transform-origin-y: 0;
357
- transform: scale(0.28);
357
+ transform: scale(0.18);
358
358
  margin-top: -1.6%;
359
359
  padding: 0PX;
360
360
  }
@@ -540,16 +540,12 @@ export default {
540
540
  patternCommit (manualInfo) {
541
541
  let that = this
542
542
  let control = {}
543
- if (that.preselectModel === -1) {
544
- this.$message.error(this.$t('openatccomponents.overview.noselectcontroltip'))
545
- return
546
- }
547
543
  that.ParamsMode.forEach(function (value, key, map) {
548
544
  if (that.controlData.mode === value) {
549
545
  control.mode = key
550
546
  }
551
547
  })
552
- control.control = that.preselectModel
548
+ control.control = that.preselectModel === -1 ? that.currModel : that.preselectModel
553
549
  // control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
554
550
  control.terminal = Number(manualInfo.tempPatternid)
555
551
  control.delay = Number(manualInfo.tempDelay)