Commit 72ddf664 by liang ce

提交details文件

parent 55bc1bf5
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<template is="avater" data="{{item: userInfo}}"/> <template is="avater" data="{{item: userInfo}}"/>
<view>{{ userInfo.username }}</view> <view>{{ userInfo.username }}</view>
</view> </view>
<view class="hasAssociated" a:if="{{relatedAppList.length === 1}}"> <view class="hasAssociated" a:if="{{relatedAppList.length !== 1}}">
<view class="associated"> <view class="associated">
已关联应用 已关联应用
</view> </view>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="unAssociated" a:if="{{relatedAppList.length === 3}}"> <view class="unAssociated">
<view class="associated"> <view class="associated">
可关联应用 可关联应用
</view> </view>
......
...@@ -13,6 +13,7 @@ create.Component({ ...@@ -13,6 +13,7 @@ create.Component({
this.setData({ this.setData({
userInfo: JSON.parse(getApp().globalData.userInfo) userInfo: JSON.parse(getApp().globalData.userInfo)
}); });
this.getDate();
}, },
didUpdate() { didUpdate() {
if (this.$store.data.relatedAppNeedUpdate) { if (this.$store.data.relatedAppNeedUpdate) {
......
<view>
New Page
</view>
\ No newline at end of file
import {} from "../../api/request";
import create from "dd-store";
create.Page({
data: {
$data: null,
},
onLoad() {},
});
{}
\ 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