|
@@ -230,15 +230,7 @@
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 16 } }"
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 16 } }"
|
|
v-if="uploadType == '2' && appType == 'android'"
|
|
v-if="uploadType == '2' && appType == 'android'"
|
|
>
|
|
>
|
|
- <a-input
|
|
|
|
- v-decorator="[
|
|
|
|
- 'trackUrl',
|
|
|
|
- {
|
|
|
|
- rules: [{ required: true, message: '请填写监测链接' }, { validator: handleConfirmValue }],
|
|
|
|
- },
|
|
|
|
- ]"
|
|
|
|
- placeholder="请填写监测链接"
|
|
|
|
- />
|
|
|
|
|
|
+ <a-input v-decorator="['trackUrl', { validator: handleConfirmValue }]" placeholder="请填写监测链接" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-form>
|
|
</a-form>
|
|
</a-card>
|
|
</a-card>
|
|
@@ -563,6 +555,7 @@ export default {
|
|
// console.log('文件地址:' + this.file)
|
|
// console.log('文件地址:' + this.file)
|
|
// console.log('图片地址:' + this.imageUrl)
|
|
// console.log('图片地址:' + this.imageUrl)
|
|
// e.preventDefault()
|
|
// e.preventDefault()
|
|
|
|
+
|
|
this.form.validateFields((err, values) => {
|
|
this.form.validateFields((err, values) => {
|
|
if (!err) {
|
|
if (!err) {
|
|
if (this.fileUrl && this.projectId) {
|
|
if (this.fileUrl && this.projectId) {
|
|
@@ -584,7 +577,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.url.insertTemplateUrl = '/kuaishouAppPackage/fillInLink'
|
|
this.url.insertTemplateUrl = '/kuaishouAppPackage/fillInLink'
|
|
params = { ...values }
|
|
params = { ...values }
|
|
- params.useSdk = params.useSdk.length > 0 ? 1 : 0
|
|
|
|
|
|
+ params.useSdk = params.useSdk?params.useSdk.length > 0 ? 1 : 0:null
|
|
params.projectId = this.projectId
|
|
params.projectId = this.projectId
|
|
params.appIconUrl = this.fileUrl
|
|
params.appIconUrl = this.fileUrl
|
|
params.platform = this.appType == 'ios' ? +this.platform + 2 : +this.platform
|
|
params.platform = this.appType == 'ios' ? +this.platform + 2 : +this.platform
|