@@ -778,7 +778,7 @@ export default {
form.padid = this.strategyInfo.padid;
form.rversion = this.strategyInfo.rversion;
}
- let api = this.strategyInfo.model === "edit" ? stPad_edit : stPad_add;
+ let api = !isNaN(this.strategyInfo.padid) ? stPad_edit : stPad_add;
api(form).then((res) => {
if (res.code === 0) {
this.$Message.success(res.msg);