微调
This commit is contained in:
@@ -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 } // 立即执行一次
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user