custom-product.js
388 Bytes
import api from '@/api/api'
import {
httpGet,
httpPost
} from '@/api/fetch-api.js'
export default {
data() {
return {
key: 'value'
}
},
components: {},
methods: {
toPage(path) {
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
this.$router.push({
// name: name
path : path
})
},
initData() {}
},
mounted() {},
created() {}
}