mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 03:37:46 +08:00
[Improvement-4556][ui]Repair the workflow instance, click the browser to return to the previous page, always start the query from the first page
This commit is contained in:
parent
69445e3cfc
commit
3e467dff22
@ -95,6 +95,7 @@
|
||||
* Query
|
||||
*/
|
||||
_onQuery (o) {
|
||||
this.searchParams.pageNo = 1
|
||||
this.searchParams = _.assign(this.searchParams, o)
|
||||
setUrlParams(this.searchParams)
|
||||
this._debounceGET()
|
||||
|
@ -14,9 +14,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import merge from 'webpack-merge'
|
||||
import router from '@/conf/home/router'
|
||||
|
||||
export function setUrlParams (o) {
|
||||
// router.push({
|
||||
// query: merge(router.history.current.query, o)
|
||||
// })
|
||||
router.push({
|
||||
query: merge(router.history.current.query, o)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user