lsc 3 tahun lalu
induk
melakukan
78221d12df
1 mengubah file dengan 0 tambahan dan 14 penghapusan
  1. 0 14
      src/components/unity.vue

+ 0 - 14
src/components/unity.vue

@@ -212,13 +212,6 @@ export default {
 
 
     Blockly.Blocks["iot_lcd_trunLeftinit"] = {
     Blockly.Blocks["iot_lcd_trunLeftinit"] = {
       init: function () {
       init: function () {
-        this.appendDummyInput().appendField(
-          new Blockly.FieldImage(
-            require("../assets/img/screen_init_header.png"),
-            45,
-            45
-          )
-        );
         this.appendDummyInput().appendField("向左移动");
         this.appendDummyInput().appendField("向左移动");
         this.setInputsInline(false);
         this.setInputsInline(false);
         this.setPreviousStatement(true);
         this.setPreviousStatement(true);
@@ -236,13 +229,6 @@ export default {
 
 
     Blockly.Blocks["iot_lcd_trunRightinit"] = {
     Blockly.Blocks["iot_lcd_trunRightinit"] = {
       init: function () {
       init: function () {
-        this.appendDummyInput().appendField(
-          new Blockly.FieldImage(
-            require("../assets/img/screen_init_header.png"),
-            45,
-            45
-          )
-        );
         this.appendDummyInput().appendField("向右移动");
         this.appendDummyInput().appendField("向右移动");
         this.setInputsInline(false);
         this.setInputsInline(false);
         this.setPreviousStatement(true);
         this.setPreviousStatement(true);