Browse Source

fix:删除多余数据

guoxiaoxiao8 5 years ago
parent
commit
5f488bec73
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/packages/textbox/textbox.vue

+ 0 - 4
src/packages/textbox/textbox.vue

@@ -41,7 +41,6 @@ export default {
     },
     data() {
         return {
-            text: '',
             errorState:false,
             txtNum:0,
         };
@@ -61,9 +60,6 @@ export default {
         	return maxlength
         },
     },
-    mounted() {
-        this.text = this.value
-    },
     methods: {
         txtIptLength(event){
             const data = event.target.value