dever 4 năm trước cách đây
mục cha
commit
bec359c822
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      pages/dream/view/vodComment.vue

+ 6 - 1
pages/dream/view/vodComment.vue

@@ -49,7 +49,12 @@ export default {
 		}
 	},
 	mounted() {
-		this.control[this.index] = this;
+		this.control[this.index] = this;
+		if (this.item.type == 2) {
+			this.disabled = false;
+		} else {
+			this.disabled = true;
+		}
 	},
 	methods:{
 		start : function() {