“81efe36d3058b945ab7b490aad2cb10ccd262cf9”上不存在“source/dnode/git@gitcode.net:taosdata/tdengine.git”
提交 c7121fbc 编写于 作者: study夏羽's avatar study夏羽

update uni-id-users

上级 fb1c13c3
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
"version": "2.1.0", "version": "2.1.0",
"description": "云端一体应用快速开发基本项目模版", "description": "云端一体应用快速开发基本项目模版",
"keywords": [ "keywords": [
"login", "login",
"登录", "登录",
"搜索", "搜索",
"uni-id实例", "uni-id实例",
"留言板" "留言板"
], ],
"repository": "https://gitcode.net/dcloud/uni-starter", "repository": "https://gitcode.net/dcloud/uni-starter",
"engines": { "engines": {
"HBuilderX": "^3.2.6" "HBuilderX": "^3.2.6"
...@@ -83,5 +83,8 @@ ...@@ -83,5 +83,8 @@
}, },
"dependencies": { "dependencies": {
"qrcodejs2": "^0.0.2" "qrcodejs2": "^0.0.2"
},
"devDependencies": {
"jest-image-snapshot": "^6.1.0"
} }
} }
...@@ -66,6 +66,7 @@ describe('pages/ucenter/ucenter.vue', () => { ...@@ -66,6 +66,7 @@ describe('pages/ucenter/ucenter.vue', () => {
it('我的积分', async () => { it('我的积分', async () => {
if(uniToken){ if(uniToken){
const getScoreRes = await page.callMethod('getScore') const getScoreRes = await page.callMethod('getScore')
await page.waitFor(500)
console.log("getScoreRes: ", getScoreRes); console.log("getScoreRes: ", getScoreRes);
if (getScoreRes && getScoreRes.score) { if (getScoreRes && getScoreRes.score) {
console.log("已登录--今日已签到"); console.log("已登录--今日已签到");
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"title": "头像地址", "title": "头像地址",
"trim": "both", "trim": "both",
"permission": { "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" "write": "doc._id == auth.uid || 'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
} }
}, },
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"description": "用file类型方便使用uni-file-picker组件", "description": "用file类型方便使用uni-file-picker组件",
"title": "头像文件", "title": "头像文件",
"permission": { "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" "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.
先完成此消息的编辑!
想要评论请 注册