Blame view

uni_modules/cloud-data-checkbox-other/uniCloud-aliyun/database/cloud-infos.schema.json 875 Bytes
bb09ac81   wangming   DEV初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  // 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
  {
  	"bsonType": "object",
  	"required": [],
  	"permission": {
  		"read": true,
  		"create": true,
  		"update": true,
  		"delete": false
  	},
  	"properties": {
  		"_id": {
  			"description": "ID,系统自动生成"
  		},
  		"health": {
  			"bsonType": "string",
  			"title": "身体状况",
  			"component": {
  				"name": "cloud-data-checkbox-other",
  				"props": {
  					":otherValue": "formData.health_other",
  					"collection": "cloud-basic-datas",
  					"field": "_id as value, text,is_other,memo,sort",
  					"orderby": "sort asc"
  				}
  			},
  			"enum": {
  				"collection": "cloud-basic-datas",
  				"field": "_id as value, text,is_other"
  			},
  			"foreignKey": "cloud-basic-datas._id"
  		},
  		"health_other": {
  			"bsonType": "string",
  			"title": "其他身体状况",
  			"description": "请输入其他身体状况"
  		}
  	}
  }