修改指令格式,增加udp创建反馈

This commit is contained in:
zyl
2025-11-20 16:06:44 +08:00
parent 1e1725bf82
commit f965849bba
10 changed files with 5669 additions and 3422 deletions

View File

@ -275,7 +275,7 @@
<script>
// 新增态势0910
import { remote } from "electron";
import {ipcRenderer, remote} from "electron";
import { mapGetters } from "vuex";
import Tree from "@/components/Tree/index";
import bottomMenu from "@/components/bottomMenus/bottomMenu.vue";
@ -496,6 +496,12 @@ export default {
// window.Clock = new TSTY.clock();
},
mounted() {
ipcRenderer.on("udpServerError",(e,msg)=>{
this.$message.error(msg);
})
ipcRenderer.on("udpServerSuccess",(e,msg)=>{
this.$message.success(msg);
})
// new Notification("这是标题", {
// body: "这是正文",
// icon: