Browse Source

bug--直播商品列表报错

master
taochengbo 4 years ago committed by xuwenbo
parent
commit
fa42709212
  1. 2
      src/views/wechat/goods/index.vue
  2. 2
      src/views/wechat/live/index.vue

2
src/views/wechat/goods/index.vue

@ -120,7 +120,7 @@ import MaterialList from "@/components/material";
import cgood from '@/views/components/good'
// crudpresenter
const defaultCrud = CRUD({ title: 'yxWechatLiveGoods', url: 'api/yxWechatLiveGoods', sort: 'goodsId,desc', crudMethod: { ...crudYxWechatLiveGoods }})
const defaultCrud = CRUD({ title: '直播商品', url: 'api/yxWechatLiveGoods', sort: 'goods_id,desc', crudMethod: { ...crudYxWechatLiveGoods }})
const defaultForm = { good: {productId: null,storeName: null,image: null}, goodsId: null, productId: null, coverImgeUrl: null, url: null, priceType: null, price: null, price2: null, name: null, thirdPartyTag: null, auditId: null, auditStatus: null }
export default {
name: 'YxWechatLiveGoods',

2
src/views/wechat/live/index.vue

@ -183,7 +183,7 @@ import pagination from '@crud/Pagination'
import MaterialList from '@/components/material'
// crudpresenter
const defaultCrud = CRUD({ title: 'wxlive', url: 'api/yxWechatLive', sort: 'roomId,desc', crudMethod: { ...crudYxWechatLive }})
const defaultCrud = CRUD({ title: '直播房间', url: 'api/yxWechatLive', sort: 'roomId,desc', crudMethod: { ...crudYxWechatLive }})
const defaultForm = { roomid: null, name: null, coverImge: null, startDate: null, endDate : null,shareImge: null, liveStatus: null, coverImgArr: [],shareImgArr: [],anchorImgArr: [],startTime: null, endTime: null, anchorName: null, anchorWechat: null, anchorImge: null, type: null, screenType: null, closeLike: null,closeGoods: null, closeComment: null }
export default {
name: 'YxWechatLive',

Loading…
Cancel
Save