Commit 2cbc1f7a by cwq0219

删除注释

1 parent 4fd138a0
...@@ -341,7 +341,7 @@ export default { ...@@ -341,7 +341,7 @@ export default {
}, },
onSubmit() { onSubmit() {
this.$refs['form'].validate((valid) => { this.$refs['form'].validate((valid) => {
// if (valid) { if (valid) {
const form = this.form const form = this.form
const params = { const params = {
merchantId: this.merchantId, merchantId: this.merchantId,
...@@ -375,21 +375,20 @@ export default { ...@@ -375,21 +375,20 @@ export default {
} }
if (form.incentiveType) params.incentiveType = form.incentiveType if (form.incentiveType) params.incentiveType = form.incentiveType
if (form.incentiveValue) params.incentiveValue = form.incentiveValue if (form.incentiveValue) params.incentiveValue = form.incentiveValue
console.log(params) updateRule(params).then((res) => {
// updateRule(params).then((res) => { this.$message({
// this.$message({ message: '修改成功',
// message: '修改成功', type: 'success'
// type: 'success' })
// }) this.close({ tagName: '/merchantManage' })
// this.close({ tagName: '/merchantManage' }) this.$router.push({
// this.$router.push({ name: 'merchantManage'
// name: 'merchantManage' })
// }) })
// }) } else {
// } else { console.log('error submit!!')
// console.log('error submit!!') return false
// return false }
// }
}) })
}, },
onCancel() { onCancel() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!