|
@@ -311,11 +311,15 @@ export default {
|
|
|
},
|
|
|
immediate: true
|
|
|
},
|
|
|
- // 'formData.clientId': { // 客户端改变,版本默认取第一个版本
|
|
|
- // handler(newV) {
|
|
|
- // this.formData.clientVersionId = (this.clientList[0] && this.clientList[0].code) || null
|
|
|
- // }
|
|
|
- // },
|
|
|
+ 'formData.clientId': { // 客户端改变,版本默认取第一个版本
|
|
|
+ handler(newV) {
|
|
|
+ // this.formData.clientVersionId = (this.clientList[0] && this.clientList[0].code) || null
|
|
|
+ console.log(newV)
|
|
|
+ if (newV === null || newV === '' || newV === undefined) {
|
|
|
+ this.formData.clientVersionId = null
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
'noticeList.Email': {
|
|
|
handler(newV, oldV) {
|
|
|
if (newV) {
|