|
|
@@ -609,6 +609,7 @@ export default {
|
|
|
components: { fastGptRole,Treeselect},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isNewVersion:process.env.IPAD_IS_NEW_VERSION ??false,
|
|
|
deptOptions:[], // 企微部门
|
|
|
isAutoOptions:[],
|
|
|
updateIp:{
|
|
|
@@ -841,10 +842,11 @@ export default {
|
|
|
},
|
|
|
//登录
|
|
|
handleLoginQwCode(val) {
|
|
|
+ const isNewVersionBoolean = this.isNewVersion === 'true';
|
|
|
if (val.appKey == null || val.appKey === '') {
|
|
|
return this.$message.warning("没有授权码,无法登录企业微信,请授权");
|
|
|
}
|
|
|
- loginQwIpad({qwUserId: val.id}).then(res => {
|
|
|
+ loginQwIpad({qwUserId: val.id,isNewVersion:isNewVersionBoolean}).then(res => {
|
|
|
this.qwUserId = val.id;
|
|
|
this.qwLogin.code = null;
|
|
|
this.imageLoading = false;
|