Browse Source

fix small bug

Konstantin Ladutenko 5 years ago
parent
commit
59e1df4fe0
2 changed files with 4 additions and 3 deletions
  1. 2 1
      vue-cli3-webapp/src/App.vue
  2. 2 2
      vue-cli3-webapp/src/components/InputWithUnits.vue

+ 2 - 1
vue-cli3-webapp/src/App.vue

@@ -1,5 +1,5 @@
 <template>
-  <div id="app" class="container">
+  <div id="app">
     <b-loading :active.sync="isLoading" :can-cancel="isLoading"></b-loading>
 
     <section style="padding: 1rem">
@@ -503,5 +503,6 @@
   /*text-align: center;*/
   /*color: #2c3e50;*/
   /*margin-top: 60px;*/
+  margin: 0;
 }
 </style>

+ 2 - 2
vue-cli3-webapp/src/components/InputWithUnits.vue

@@ -21,9 +21,9 @@
     export default {
         name: "InputWithUnits",
         watch: {
-            value: {
+            valueLocal: {
                 handler: function () {
-                    this.$emit('newdata',this.value);
+                    this.$emit('newdata',this.valueLocal);
                 }
             },
             deep: true