@@ -105,12 +105,7 @@ export default {
components: { },
mixins: [initData],
props: {
- value: {
- type: Array,
- default() {
- return []
- }
- },
+ product : Array,
// 宽度
width: {
type: Number,
@@ -128,7 +123,7 @@ export default {
},
data() {
return {
- newValue:this.value,
+ product:this.product,
delLoading: false,
visible: false,
queryTypeOptions: [
@@ -151,13 +146,13 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(function() {
- that.newValue.splice(index, 1)
+ that.product.splice(index, 1)
that.url = []
})
},
doSelect() {
- this.newValue = this.multipleSelection
- this.$emit("selectGoods", this.newValue)
+ this.product = this.multipleSelection
+ this.$emit("selectGoods", this.product)
this.dialog = false
},
handleSelectionChange(val) {
diff --git a/src/views/wechat/live/index.vue b/src/views/wechat/live/index.vue
index 63b3318..e25b4f9 100644
--- a/src/views/wechat/live/index.vue
+++ b/src/views/wechat/live/index.vue
@@ -46,9 +46,7 @@
-
-
-
+
推流
@@ -104,6 +102,20 @@
确认
+