|
@@ -138,7 +138,7 @@ export default class ByForm extends VueViews {
|
|
|
if(this.value){
|
|
|
for(const key in this.value){
|
|
|
const code = key +'Comp';
|
|
|
- if((this as any).$refs[code] && (this as any).$refs[code][0] && (this as any).$refs[code][0].setValue()){
|
|
|
+ if((this as any).$refs[code] && (this as any).$refs[code][0] && (this as any).$refs[code][0].setValue){
|
|
|
(this as any).$refs[code][0].setValue(this.value[key])
|
|
|
}
|
|
|
}
|