lsc 3 年之前
父節點
當前提交
78221d12df
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      src/components/unity.vue

+ 0 - 14
src/components/unity.vue

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