update:
1. update release-version interface
This commit is contained in:
@@ -102,34 +102,5 @@ export default {
|
|||||||
dataType: 'string',
|
dataType: 'string',
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "差量更新",
|
|
||||||
prop: "dispatchUrl",
|
|
||||||
type: "upload",
|
|
||||||
dataType: 'string',
|
|
||||||
overHidden: true,
|
|
||||||
multiple: false,
|
|
||||||
action: "/blade-resource/oss/endpoint/put-file",
|
|
||||||
accept: ".apk",
|
|
||||||
fileSize: 200 * 1024,
|
|
||||||
tip: "只能上传 APK 文件,且不超过 200MB",
|
|
||||||
propsHttp: {
|
|
||||||
res: 'data',
|
|
||||||
url: 'link'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "差量版本",
|
|
||||||
prop: "dispatchTargetVersion",
|
|
||||||
type: "input",
|
|
||||||
overHidden: true,
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
pattern: /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/,
|
|
||||||
message: '版本号格式必须为 x.y.z(例如:1.2.3),每段为非负整数,且不能有前导零',
|
|
||||||
trigger: 'blur'
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user