@@ -30,6 +30,9 @@ export default {
}
},
methods: {
+ save(search = null, type = 'form') {
+ this.searchs.update(search, undefined, type)
+ },
validate(FC) {
this.$refs.form.validate(valid => {
FC(valid)