mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
fc01a6a68c
commit
ca31400527
@ -101,8 +101,9 @@
|
||||
console.log(vm, tmpUserInfo);
|
||||
vm.userName = tmpUserInfo.name;
|
||||
//加个水印
|
||||
|
||||
vc.watermark({watermark_txt:vc.i18n('systemName')+":"+tmpUserInfo.name});
|
||||
if (tmpUserInfo.watermark == 'true') {
|
||||
vc.watermark({ watermark_txt: vc.i18n('systemName') + ":" + tmpUserInfo.name });
|
||||
}
|
||||
}
|
||||
}, function () {
|
||||
console.log('请求失败处理');
|
||||
@ -199,8 +200,8 @@
|
||||
_chooseMoreCommunity: function () {
|
||||
vc.emit('chooseEnterCommunity', 'openChooseEnterCommunityModel', {});
|
||||
},
|
||||
_viewDocument:function(){
|
||||
vc.emit('document','openDocument', {});
|
||||
_viewDocument: function () {
|
||||
vc.emit('document', 'openDocument', {});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user