This commit is contained in:
sjl
2025-01-15 20:23:05 +08:00
parent c2b63a7a3f
commit d02f85cea5
7 changed files with 92 additions and 54 deletions

View File

@@ -756,6 +756,7 @@ function tableHeaderInit(val: number) {
break;
}
//console.log("test",columns);
handleRefresh()
}
function refreshStatusList(){
@@ -968,7 +969,7 @@ const handleTest = async (val:string) => {
const data = reactive({
socketServe: socketClient.Instance,
});
const url = 'ws://localhost:7777/hello?name=cdf';
const url = 'ws://192.168.1.127:7777/hello?name=cdf';
socketClient.Instance.connect(url);
data.socketServe = socketClient.Instance;
data.socketServe.registerCallBack('aaa', (res: { code: number; }) => {
@@ -1092,9 +1093,9 @@ function formatDate(date : Date) {
watch(
() => props.id,
(newId) => {
handleRefresh()
// 调用获取数据的方法
handleSearch();
//handleSearch();
},
{ immediate: true } // 立即执行一次
);