diff --git a/src/components/Table/GoodsItem/GoodsItem.vue b/src/components/Table/GoodsItem/GoodsItem.vue index b01aebd..33471c0 100644 --- a/src/components/Table/GoodsItem/GoodsItem.vue +++ b/src/components/Table/GoodsItem/GoodsItem.vue @@ -4,19 +4,22 @@
+
-

{{ dataObj.title }}

+ +

{{ dataObj.title }}

-

{{ dataObj.subtitle }}

+

+ {{ dataObj.subtitle }} +

- {{ props.value.name }} + + {{ props.value.name }}
@@ -34,28 +37,29 @@ export default { // 商品信息 data: PropTypes.object.def({}), // 副标题颜色 - subTitleColor: PropTypes.bool.def(false) + subTitleColor: PropTypes.bool.def(false), }, computed: { - dataObj () { - return Object.assign({ - image: '', - imageAlt: '', - title: '', - subtitle: '', - goodsProps: [], - titleWidth: 200 - }, this.$props.data) - } + dataObj() { + return Object.assign( + { + image: '', + imageAlt: '', + title: '', + subtitle: '', + goodsProps: [], + titleWidth: 200, + }, + this.$props.data + ) + }, }, - data () { + data() { return { - isEmpty + isEmpty, } }, - methods: { - - } + methods: {}, } diff --git a/src/views/dataCenter/goods/Update.vue b/src/views/dataCenter/goods/Update.vue index c8052a9..c5c4504 100644 --- a/src/views/dataCenter/goods/Update.vue +++ b/src/views/dataCenter/goods/Update.vue @@ -176,6 +176,19 @@
+ + + +