|
@@ -199,7 +199,11 @@ function doConnectDirectives() {
|
|
|
return;
|
|
|
}
|
|
|
case '5000': {
|
|
|
- if (isControl) {
|
|
|
+ // if (result.data.username === username) {
|
|
|
+ // changIsControl(true);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ if (isControl && isAuth === 'huo') {
|
|
|
$.confirm(
|
|
|
'授权方已收回控制权,您进入观看屏幕模式',
|
|
|
function () {
|
|
@@ -214,6 +218,7 @@ function doConnectDirectives() {
|
|
|
);
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
return;
|
|
|
}
|
|
|
default: {
|
|
@@ -266,7 +271,7 @@ function doConnectDirectives() {
|
|
|
dpi: result.data.dpi,
|
|
|
};
|
|
|
|
|
|
- if( result.type === 'setPhoneSize'){
|
|
|
+ if (result.type === 'setPhoneSize') {
|
|
|
lastSetPhone = Date.now();
|
|
|
}
|
|
|
return;
|