| | |
| | | </template> |
| | | |
| | | <div class="empty" @dragover="dragover($event)" @drop="drop" v-else> |
| | | <img src="/images/hashrate/未配置算法空页面.png" alt="" /> |
| | | <img src="/images/hashrate/unSdk.png" alt="" /> |
| | | <div class="des"> |
| | | 暂未配置策略,点击上方操作面板按钮,从操作面板拖到算法到此处,即可配置 |
| | | 暂未配置策略,点击上方操作面板按钮,从操作面板拖动算法到此处,即可配置 |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | delSdk(index) { |
| | | this.rule.rules.splice(index, 1); |
| | | |
| | | if (this.rule.rules[index]) { |
| | | this.rule.rules[index].rule_with_pre = ""; |
| | | if (this.rule.rules.length == 1) { |
| | | this.rule.rules[0].rule_with_pre = ""; |
| | | } |
| | | |
| | | this.update(); |
| | | |
| | | console.log(this.rule.rules); |
| | | }, |
| | |
| | | } |
| | | }); |
| | | } else { |
| | | delete this.rule.camera_polygons; |
| | | saveLinkScene(this.rule).then((rsp) => { |
| | | if (rsp && rsp.success) { |
| | | this.$notify({ |