Browse Source

修复 获取电话号码问题

wangdy 8 years ago
parent
commit
8f6bd0cf44
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/webapp/resources/js/common/module/chat_web_module.js

+ 2 - 2
src/main/webapp/resources/js/common/module/chat_web_module.js

@@ -141,10 +141,10 @@ define([ 'common/query/chat', 'common/query/enterprise' ], function() {
 			if (!/^1\d{10}$/.test(phone)){
 				ChatBusinessLayer.getAdminInfo(enUU).then(function (userTel) {
 					phone = userTel;
-					if (!/^1\d{10}$/.test(phone)){
+					/*if (!/^1\d{10}$/.test(phone)){
 						toaster.pop('warning', '该店铺暂无管理员电话号码!');
 						return;
-					}
+					}*/
 					console.log(phone, enUU, userType);
 					var newTab = window.open('', '即时对话框', 'height=750, width=1000, top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no'),
 						chatInfoDto = {