|
@@ -87,6 +87,7 @@ const searchHandler = async () => {
|
|
|
siteUrl.value = siteUrl.value.trim();
|
|
|
|
|
|
if(!checkURL(siteUrl.value)) {
|
|
|
+ message.info('Incorrect URL entered');
|
|
|
//提示
|
|
|
return;
|
|
|
}
|
|
@@ -181,12 +182,12 @@ const createGuideWindow = (params, isUpdate = false) => {
|
|
|
openWindowList = [];
|
|
|
selectAppGuideData = {};
|
|
|
|
|
|
- let windowWith = window.innerWidth - 500;
|
|
|
+ let windowWith = window.screen.width - 500;
|
|
|
let guideUrl = chrome.runtime.getURL('/iframe/tool-box-guide.html');
|
|
|
|
|
|
chrome.windows.create({
|
|
|
width: windowWith,
|
|
|
- type: 'popup',
|
|
|
+ type: 'normal',
|
|
|
url: params.defaultUrl,
|
|
|
state: 'normal'
|
|
|
}, function (window) {
|