diff --git a/guanyierp/tools.user.js b/guanyierp/tools.user.js index dd3a275..446367b 100644 --- a/guanyierp/tools.user.js +++ b/guanyierp/tools.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 管易小助手 // @namespace http://tampermonkey.net/ -// @version 0.1 +// @version 0.2 // @description 管易ERP 批量操作工具 // @author MiaoWoo // @match http*://www.guanyierp.com/** @@ -13,7 +13,7 @@ 'use strict' let toolHtml = `管易小助手` let tool = document.createElement("div") - tool.className = "flex flex-column flex-y-center justcenter hand tmall-time" + tool.className = "flex flex-column flex-y-center justcenter hand tmall-time ant-popover-hidden" tool.innerHTML = toolHtml document.querySelector('.help-center').parentNode.appendChild(tool) tool.onclick = () => { @@ -60,7 +60,7 @@ let toolPage = document.createElement("div") toolPage.id = "gytool" toolPage.style = "position: absolute; top: 0px; left: 0px; width: 100%;" - // toolPage.className = 'ant-popover-hidden' + toolPage.className = 'ant-popover-hidden' toolPage.innerHTML = toolPageHtml document.body.appendChild(toolPage) async function api(method, url, body = null, contentType = "application/json; charset=UTF-8") { @@ -111,6 +111,7 @@ }, init: async function () { await main.initWarehouse() + tool.className = "flex flex-column flex-y-center justcenter hand tmall-time" main.loading = false }, initWarehouse: async function () {