Pārlūkot izejas kodu

重新提交,专家信息和资源中,判断是否登录

wangaidan 8 gadi atpakaļ
vecāks
revīzija
c2beff1079
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      app/js/proinfobrow.js
  2. 1 1
      app/js/resinforbrow.js

+ 1 - 1
app/js/proinfobrow.js

@ -8,7 +8,7 @@ mui.plusReady(function() {
8 8
	var userid = plus.storage.getItem('userid');
9 9
	var self = plus.webview.currentWebview();
10 10
	var proId = self.proid;
11
	console.log(userid);
11
	console.log(userid); 
12 12
	/*点击咨询*/
13 13
	//判断是否登录,登录才可咨询,否则登录
14 14
	function isLogin(){

+ 1 - 1
app/js/resinforbrow.js

@ -247,7 +247,7 @@ mui.plusReady(function() {
247 247
		isLogin();
248 248
	});
249 249
	
250
250
 
251 251
	/*咨询成功,返回资源信息*/
252 252
	window.addEventListener('backziyuaninfo', function(event) {
253 253