瀏覽代碼

修改值

ymy 2 年之前
父節點
當前提交
1d9a219785
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/benyun/components/byDatePicker/byDatePicker.vue
  2. 1 1
      src/benyun/components/bySelect/bySelect.vue

+ 1 - 1
src/benyun/components/byDatePicker/byDatePicker.vue

@@ -43,7 +43,7 @@ export default class ByDatePicker extends VueViews {
       this.setConfig(this.propConfig)
       this.setConfig(this.propConfig)
     }
     }
     if(this.propValue){
     if(this.propValue){
-      this.setValue(this.propConfig)
+      this.setValue(this.propValue)
     }
     }
   }
   }
   mounted(){
   mounted(){

+ 1 - 1
src/benyun/components/bySelect/bySelect.vue

@@ -61,7 +61,7 @@ export default class BySelect extends VueViews {
       this.setConfig(this.propConfig)
       this.setConfig(this.propConfig)
     }
     }
     if(this.propValue){
     if(this.propValue){
-      this.setValue(this.propConfig)
+      this.setValue(this.propValue)
     }
     }
   }
   }