新增商品缓存

This commit is contained in:
lyt
2022-12-22 18:09:50 +08:00
committed by Loki
parent f646ebdb0b
commit cbc705f4da
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -31,7 +31,6 @@
<script>
import ScrollPane from './ScrollPane'
import path from 'path'
import Utils from '@/assets/js/util.js';
export default {
components: { ScrollPane },
data() {
@@ -199,7 +198,6 @@ export default {
toLastView(visitedViews, view) {
const latestView = visitedViews.slice(-1)[0]
if (latestView) {
Utils.$emit('test');
this.$router.push(latestView.fullPath)
} else {
// now the default is to redirect to the home page if there is no tags-view,
+2
View File
@@ -106,6 +106,7 @@ import initData from '@/mixins/crud'
import { del, onsale } from '@/api/bxg/yxStoreProduct'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import Treeselect from '@riophae/vue-treeselect'
import Utils from '@/assets/js/util.js';
export default {
components: { Treeselect },
mixins: [initData],
@@ -132,6 +133,7 @@ export default {
},
methods: {
toAddURL(){
Utils.$emit('test');
this.$router.push({ path: '/bxg/shop/goodsAdd' })
},
toUpdateURL(id){