|
@@ -13,7 +13,7 @@ export default {
|
|
|
name: 'save-form',
|
|
|
props: ['model', 'rules', 'formProps'],
|
|
|
mounted() {
|
|
|
- const searchs = getSearchs(this.$route.fullpath)
|
|
|
+ const searchs = getSearchs(this.$route.fullPath)
|
|
|
for (const key in searchs) {
|
|
|
if (searchs.hasOwnProperty(key)) {
|
|
|
const item = searchs[key];
|
|
@@ -21,7 +21,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
console.log(this.$refs.form)
|
|
|
- console.log(getSearchs(this.$route.fullpath))
|
|
|
+ console.log(getSearchs(this.$route.fullPath))
|
|
|
},
|
|
|
methods: {
|
|
|
validate(FC) {
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
FC(valid)
|
|
|
if (valid) {
|
|
|
console.log(this.$route, this.model)
|
|
|
- saveToStorage(this.$route.fullpath, this.model)
|
|
|
+ saveToStorage(this.$route.fullPath, this.model)
|
|
|
}
|
|
|
})
|
|
|
},
|