|
@@ -24,6 +24,8 @@
|
|
|
|
|
|
|
|
|
<template slot="isSale" slot-scope="scope" >
|
|
|
+ <el-tag v-if="scope.row.$isSale === '上架'" type="success">{{scope.row.$isSale}}</el-tag>
|
|
|
+ <el-tag v-if="scope.row.$isSale === '下架'" type="danger">{{scope.row.$isSale}}</el-tag>
|
|
|
<el-button type="success"
|
|
|
icon="el-icon-upload"
|
|
|
size="small"
|
|
@@ -127,6 +129,7 @@
|
|
|
import {getByParentId} from "../../../api/mall/categoryinfo";
|
|
|
import {getList as getStoreList} from "@/api/mall/store";
|
|
|
import {getToken} from '@/util/auth';
|
|
|
+ import { baseUrl } from '@/config/env'
|
|
|
|
|
|
export default {
|
|
|
|