|
@@ -75,7 +75,7 @@ export default {
|
|
const { userNameNeedTranslate, dingdingUserid } = this.user
|
|
const { userNameNeedTranslate, dingdingUserid } = this.user
|
|
if (userNameNeedTranslate) {
|
|
if (userNameNeedTranslate) {
|
|
this.corporateWeChat = true
|
|
this.corporateWeChat = true
|
|
- if(dingdingUserid) {
|
|
|
|
|
|
+ if (dingdingUserid) {
|
|
this.dingdingPlatform = true
|
|
this.dingdingPlatform = true
|
|
this.corporateWeChat = false
|
|
this.corporateWeChat = false
|
|
} else {
|
|
} else {
|
|
@@ -85,7 +85,7 @@ export default {
|
|
this.corporateWeChat = false
|
|
this.corporateWeChat = false
|
|
this.dingdingPlatform = false
|
|
this.dingdingPlatform = false
|
|
}
|
|
}
|
|
- console.log(this.corporateWeChat, this.dingdingPlatform, this.configurationItems)
|
|
|
|
|
|
+ // console.log(this.corporateWeChat, this.dingdingPlatform, this.configurationItems)
|
|
// console.log(this.corporateWeChat, '<=== 企业微信转译')
|
|
// console.log(this.corporateWeChat, '<=== 企业微信转译')
|
|
// console.log(this.dingdingPlatform, '<=== 钉钉转译')
|
|
// console.log(this.dingdingPlatform, '<=== 钉钉转译')
|
|
this.assignmentValue(this.configurationItems)
|
|
this.assignmentValue(this.configurationItems)
|
|
@@ -108,7 +108,13 @@ export default {
|
|
default:
|
|
default:
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- console.log(this.translationValue, '<=== 转译文本')
|
|
|
|
|
|
+ // console.log(this.translationValue, '<=== 转译文本')
|
|
|
|
+ if (this.user.dingdingUserid) {
|
|
|
|
+ this.viewConfiguration()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ viewConfiguration() {
|
|
|
|
+ window.DTOpenData.update(document.querySelectorAll('dt-open-data'));
|
|
}
|
|
}
|
|
},
|
|
},
|
|
}
|
|
}
|