dever před 4 roky
rodič
revize
bec359c822
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  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() {