新增商品缓存
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user