Tag:Blogger

  • Ios13 wkwebview click does not jump, no response.

    Time:2022-4-27

    Since ios13, wkwebview has removed the automatic push function of cookies and can be added by itself.The code is as follows: if (@available(iOS 11.0, *)) { NSArray *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]; WKHTTPCookieStore *cookieStore = [WKWebsiteDataStore defaultDataStore].httpCookieStore; if (cookies.count > 0) { for (NSHTTPCookie *cookie in cookies) { [cookieStore setCookie:cookie completionHandler:^{ }]; } } } […]

  • Excel complex header export

    Time:2022-4-22

    In our work, we often encounter some requirements of Excel import and export. We can usually use the API provided by POI, etc. But when it comes to processing, the code is very bloated and not elegant.Inadvertently, I checked the code of a long time ago and saw a former colleague and elder. In view […]

  • JS · dispatchEvent method simulates the solution of invalid mouse click and pop-up

    Time:2022-4-19

    Reading time |0.16 minutes word count |265.6 characters primary coverage |1. Introduction & background “JS · dispatchEvent method simulates the solution of invalid mouse click and pop-up” Author | SCscHero Writing time | 2021/7/19 PM8:24 Article type |Series Degree of completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & backgroundDegree of […]

  • Cloud development of wechat applet development

    Time:2022-3-19

    Create a cloud development applet project Open Cloud Development Interface after opening Select development environment Enable NPM module Install Wx server SDK npm install –save [email protected] Create cloud function //Cloud function entry function exports.main = async (event, context) => { console.log(event) console.log(context) return { sum: event.a + event.b } } Local debugging cloud function Contact […]

  • CSS generated by sass in vscode

    Time:2022-3-3

    Today, I was watching a CSS3 animation video. The blogger used sass language. With curiosity, I checked the basic usage and tried to install the environment in vscode. HMM ~ it’s still very convenient 1. First, the first step is to install sass globally. There are several ways. The NPM I use here is based […]

  • Excel custom format thousand separator

    Time:2022-2-24

    Reading time |0.64 minutes word count |1028 characters primary coverage |1. Introduction & background “Excel custom format thousand separator” Author | Writing time | 2021/12/19 AM12:9 Article type |Series Degree of completion |Completed motto Every great cause has a trivial beginning. 1、 Introduction & backgroundDegree of completion: 100% a) Dealing with problems How to set […]

  • After reading the articles you like, don’t copy tips and simplify if writing

    Time:2022-2-23

    Bloggers are not very good, so they often look at the great gods’ technology blog, but sometimes it’s hard to see good articles, and it’s hard not to copy the code, so I’ll teach you a practical skill document.designMode=’on’So you can copy it The second practical tip is if simplification. Just change it if you […]

  • Element UI menu bar click twice to highlight the bug

    Time:2022-2-7

    image.png image.png The menu bar cannot be highlighted. Default active = “is added$ image.png route. Double click the menu bar after push (‘/ xxx’) to highlight it. Baidu knows that it is the problem caused by the inconsistency between default active and index attributes.Therefore, based on the experience of a blogger, change the default active […]

  • C # thread lock and single multithreading are easy to use

    Time:2022-1-27

    preface: The blogger encountered a problem when writing the settings with c# yesterday, that is, the blogger’s sending command needs to be sent circularly, but there is a 1-second delay in my receiving, so it appeared. I sent the command circularly, and finally only received the values of the last two commands, so I asked […]

  • Golang implements automatic downloading of all dependent packages

    Time:2022-1-8

    statement1) This article collates the selfless dedication materials of Daniel and experts on the Internet. Please see the references for the specific cited materials.2) This article is for academic exchange only, not for commercial use. If a certain part accidentally infringes upon everyone’s interests, please wait for Haihan and contact the blogger to delete it.3) […]

  • JS get the current time, month, day, hour, minute and second

    Time:2022-1-5

    //Get current time getNowTime: function () { let dateTime let yy = new Date().getFullYear() let mm = new Date().getMonth() + 1 let dd = new Date().getDate() let hh = new Date().getHours() let mf = new Date().getMinutes() < 10 ? ‘0’ + new Date().getMinutes() : new Date().getMinutes() let ss = new Date().getSeconds() < 10 ? ‘0’ […]

  • There are 1000 reasons to choose the IT industry!

    Time:2022-1-4

    You want me to make it up I can’t make up a thousand Now switch to it Do you need 1000 more reasons? no Unnecessary Just one   Early October CSDN bloggers “have some evidence” Released Salary of domestic programmers in October 2020 That’s what he said himself   Details of the data are as […]