12.31开源admin代码更新

This commit is contained in:
hejinfu1026
2021-12-31 15:58:40 +08:00
parent 6c0981748b
commit 004def5763
545 changed files with 9743 additions and 139371 deletions

View File

@@ -87,6 +87,7 @@ import { smsTempLstApi, tempCreateApi } from '@/api/sms'
import { roterPre } from '@/settings'
import { mapGetters } from 'vuex'
import zbParser from '@/components/FormGenerator/components/parser/ZBParser'
import {Debounce} from '@/utils/validate'
export default {
name: 'SmsTemplate',
components: { zbParser },
@@ -144,14 +145,14 @@ export default {
this.dialogVisible = false
this.editData = {}
},
handlerSubmit(formValue) {
handlerSubmit:Debounce(function(formValue) {
tempCreateApi(formValue).then(data => {
this.$message.success('新增成功')
this.dialogVisible = false
this.editData = {}
this.getList()
})
},
}),
add() {
this.dialogVisible = true
},