fix 协作人员
This commit is contained in:
parent
6991e01201
commit
34ad840f2d
@ -143,7 +143,10 @@ class WebSocketService implements WebSocketHandlerInterface
|
||||
$pathOld = $row->path;
|
||||
$row->path = $pathNew;
|
||||
$row->save();
|
||||
if (preg_match("/^file\/content\/\d+$/", $pathNew) || preg_match("/^file\/content\/\d+$/", $pathOld)) {
|
||||
if (preg_match("/^file\/content\/\d+$/", $pathOld)) {
|
||||
$this->pushPath($pathOld);
|
||||
}
|
||||
if (preg_match("/^file\/content\/\d+$/", $pathNew)) {
|
||||
$this->pushPath($pathNew);
|
||||
}
|
||||
}
|
||||
|
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -1640,7 +1640,7 @@ export default {
|
||||
if (state.wsPathValue == path) {
|
||||
dispatch("websocketSend", {type: 'path', data: {path}});
|
||||
}
|
||||
}, 3000);
|
||||
}, 1000);
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user