提交 c7121fbc 编写于 作者: study夏羽's avatar study夏羽

update uni-id-users

上级 fb1c13c3
......@@ -83,5 +83,8 @@
},
"dependencies": {
"qrcodejs2": "^0.0.2"
},
"devDependencies": {
"jest-image-snapshot": "^6.1.0"
}
}
......@@ -66,6 +66,7 @@ describe('pages/ucenter/ucenter.vue', () => {
it('我的积分', async () => {
if(uniToken){
const getScoreRes = await page.callMethod('getScore')
await page.waitFor(500)
console.log("getScoreRes: ", getScoreRes);
if (getScoreRes && getScoreRes.score) {
console.log("已登录--今日已签到");
......
......@@ -32,7 +32,7 @@
"title": "头像地址",
"trim": "both",
"permission": {
"read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission",
"read": true,
"write": "doc._id == auth.uid || 'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
}
},
......@@ -41,7 +41,7 @@
"description": "用file类型方便使用uni-file-picker组件",
"title": "头像文件",
"permission": {
"read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission",
"read": true,
"write": "doc._id == auth.uid || 'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册