diff --git a/src/views/client/wxapp/Style.vue b/src/views/client/wxapp/Style.vue index 579c2e2..37caa3e 100644 --- a/src/views/client/wxapp/Style.vue +++ b/src/views/client/wxapp/Style.vue @@ -77,7 +77,7 @@ export default { .then(result => { console.log(result) // 当前记录 - this.record.style = result.data.detail.style || '' + this.record.style = result.data.detail ? (result.data.detail.style || '') : '' // 设置默认值 this.setFieldsValue() })