|
há 9 meses atrás | |
---|---|---|
common | há 9 meses atrás | |
components | há 9 meses atrás | |
pages | há 9 meses atrás | |
pasb | há 9 meses atrás | |
pasbrg | há 9 meses atrás | |
static | há 11 meses atrás | |
store | há 11 meses atrás | |
uni_modules | há 11 meses atrás | |
util | há 9 meses atrás | |
.gitignore | há 11 meses atrás | |
App.vue | há 11 meses atrás | |
LICENSE | há 11 meses atrás | |
README.md | há 9 meses atrás | |
jsconfig.json | há 11 meses atrás | |
main.js | há 11 meses atrás | |
manifest.json | há 10 meses atrás | |
package.json | há 10 meses atrás | |
pages.json | há 9 meses atrás | |
template.h5.html | há 11 meses atrás | |
tree.md | há 11 meses atrás | |
uni.scss | há 11 meses atrás | |
vue.config.js | há 11 meses atrás |
子组件调用父组件的方法
<child :click-handle="handleClick" />
子组件的this指向为子组件。
this.$emit('handleClick', '参数');
ide启动总是提示 ‘uni-app 自定义组件 components/RichText/index 建议移动到子包 pasb 内’,原因是启动了分包优化
"optimization" : {
"subPackages" : false//关闭分包优化
},
hbuild发布微信小程序需要启动微信开发者工具
{
"userInfo.usrName": {
"type": "string",
"required": true,
"message": "请填写姓名",
"trigger": [
"blur",
"change"
]
},
"userInfo.tel": {
"type": "string",
"len": 11,
"required": true,
"message": "请填写11位手机号",
"trigger": [
"blur",
"change"
]
},
"userInfo.email": {
"type": "string",
"required": false,
"message": "请填写邮箱",
"trigger": [
"blur",
"change"
]
},
"userInfo.orgUnitName": {
"type": "string",
"required": true,
"message": "请填写单位名称",
"trigger": [
"blur",
"change"
]
},
"userInfo.uniLevel": {
"type": "string",
"required": true,
"message": "请填写职务",
"trigger": [
"blur",
"change"
]
},
"userInfo.usrType": {
"type": "string",
"required": true,
"message": "请填写人员类型",
"trigger": [
"blur",
"change"
]
},
"userInfo.conferenceFlag": {
"type": "string",
"required": true,
"message": "请选择是否参加现场调研",
"trigger": [
"blur",
"change"
]
},
"userInfo.contentId": {
"type": "number",
"required": true,
"message": "请选择会场",
"trigger": [
"blur",
"change"
]
},
"userInfo.themeFlag": {
"type": "string",
"required": true,
"message": "请选择是否参加主题研讨",
"trigger": [
"blur",
"change"
]
},
"userInfo.themeId": {
"type": "number",
"required": true,
"message": "请选择主题",
"trigger": [
"blur",
"change"
]
},
"userInfo.wayComing": {
"type": "string",
"required": true,
"message": "请选择来程交通方式",
"trigger": [
"blur",
"change"
]
},
"userInfo.comInfo": {
"type": "string",
"required": true,
"message": "请填写来程车次/航班",
"trigger": [
"blur",
"change"
]
},
"userInfo.wayBack": {
"type": "string",
"required": true,
"message": "返程交通方式",
"trigger": [
"blur",
"change"
]
},
"userInfo.backInfo": {
"type": "string",
"required": true,
"message": "请填写返程车次/航班",
"trigger": [
"blur",
"change"
]
}
}