Commit f1a6450b by xiexiaoqin

merge

parents 4004ae8e 456a758f
export const globalUrl = "https://gateway-ding.mingwork.com"; export const globalUrl = "https://gateway-ding.mingwork.com";
export const globalUrl2 = "https://third-authentication.mingwork.com"; export const globalUrl2 = "https://third-authentication.mingwork.com";
export const version = 0.042; export const version = 0.043;
export const websocketUrl = 'wss://gateway-ding.mingwork.com'; export const websocketUrl = 'wss://gateway-ding.mingwork.com';
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
<template name="avater"> <template name="avater">
<view class="avater"> <view class="avater">
<image a:if="{{item.avatar}}" mode="scaleToFill" src="{{item.avatar}}" /> <image a:if="{{item.avatar}}" mode="scaleToFill" src="{{item.avatar}}" />
<text a:if="{{item.username}}">{{item.username.slice(0, split || 2)}} <text a:else>{{(item.username || item.name).slice(0, split || 2)}}
</text>
<text a:else>{{item.name.slice(0, split || 2)}}
</text> </text>
</view> </view>
</template> </template>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment