diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue index 162df69d7e2fe3b71695541b85b568180607288f..05b905ac8b038afc155c0a50ea0f655c741a6eab 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue @@ -95,6 +95,7 @@ * Query */ _onQuery (o) { + this.searchParams.pageNo = 1 this.searchParams = _.assign(this.searchParams, o) setUrlParams(this.searchParams) this._debounceGET() diff --git a/dolphinscheduler-ui/src/js/module/util/routerUtil.js b/dolphinscheduler-ui/src/js/module/util/routerUtil.js index a4a70520ae5f6dfc98a0ca4608f188a827224e2f..1274a590cd2d408d816687d74efce4338ce092cb 100644 --- a/dolphinscheduler-ui/src/js/module/util/routerUtil.js +++ b/dolphinscheduler-ui/src/js/module/util/routerUtil.js @@ -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) + }) }