Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/web/toManual/js/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022-2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -298,7 +298,11 @@ class App extends React.Component {
}
} else if (list[1] == 'search') {
console.log("============>search...", list[2]);
global.qtObjects.search.updateSearch(list[2]);
let keyword = list[2];
if (this.isbase64(keyword)) {
keyword = decodeURIComponent(atob(keyword));
}
global.qtObjects.search.updateSearch(keyword);
} else {
global.bIsReload = true;
this.context.router.history.go(0);
Expand Down
9 changes: 8 additions & 1 deletion src/web_dist/toManual/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2022-2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function (global){(function (){
'use strict';
Expand Down Expand Up @@ -377,7 +380,11 @@ var App = function (_React$Component) {
}
} else if (list[1] == 'search') {
console.log("============>search...", list[2]);
global.qtObjects.search.updateSearch(list[2]);
var keyword = list[2];
if (_this4.isbase64(keyword)) {
keyword = decodeURIComponent(atob(keyword));
}
global.qtObjects.search.updateSearch(keyword);
} else {
global.bIsReload = true;
this.context.router.history.go(0);
Expand Down
Loading