#
Junjie
1 天以前 26784989e73fc36c6315e54939d1b13a50eb5020
src/main/webapp/components/DevpCard.js
@@ -33,6 +33,7 @@
          </label>
          <div class="mc-action-row">
            <button type="button" class="mc-btn" @click="controlCommand">下发</button>
            <button type="button" class="mc-btn mc-btn-soft" @click="clearPathCommand">清路径</button>
            <button type="button" class="mc-btn mc-btn-soft" @click="resetCommand">复位</button>
            <button type="button" class="mc-btn mc-btn-ghost" @click="openStationTracePage">运行轨迹</button>
            <button v-if="showFakeTraceEntry" type="button" class="mc-btn mc-btn-ghost" @click="openFakeTracePage">仿真轨迹</button>
@@ -484,6 +485,9 @@
    controlCommand: function () {
      this.postControl("/station/command/move", this.controlParam);
    },
    clearPathCommand: function () {
      this.postControl("/station/command/clearPath", this.controlParam);
    },
    resetCommand: function () {
      this.postControl("/station/command/reset", this.controlParam);
    }