[update] 54095

This commit is contained in:
zhaomeijing
2022-06-20 18:04:08 +08:00
parent a6730d4c63
commit 326e357428
@@ -201,6 +201,9 @@ export default {
this.areaVisible=false this.areaVisible=false
}, },
handleSubmit() { handleSubmit() {
if( this.formInline.paramsTemplateName !== undefined) {
this.formInline.paramsTemplateName = this.formInline.paramsTemplateName.trim()
}
this.$refs.ruleForm.validate(valid => { this.$refs.ruleForm.validate(valid => {
if (valid) { if (valid) {
getAction(this.url.copy + `?id=${this.selectedRowKeys[0]}&paramsTemplateName=${this.formInline.paramsTemplateName}`, {}).then((res) => { getAction(this.url.copy + `?id=${this.selectedRowKeys[0]}&paramsTemplateName=${this.formInline.paramsTemplateName}`, {}).then((res) => {