Coding
开发模式(暂时没时间继续维护)
// 后来又 get 了一种 switch (true) { case this.status === 0 && data.type === 1: case (this.status === 2 || this.status === 3) && data.status === 2: this.nextBtnIsOk = true break; default: break; } if ( (this.status === 0 && data.type === 1) || ((this.status === 2 || this.status === 3) && data.status === 2) ) { this.nextBtnIsOk = true; }addBalance getAccount filterActivityList patchEmail deleteUserById removeItem generateTagList fillTableHeader createFolder forEachFileList parseNodeTree updateUserInfo extractUserInfo showTable hideIframe useDebounce toBase64 isSuccess canWrite requestModule loadScript fetchGalleryData setLanguage sendMessage querySelector findElement combineList importResource searchService renderComponent readFile onChange handleInput verifyFormData changeSettings cloneJSON appendSlice insertColumn saveConfig execCommand unloadPage destoryConnection openProgram 单个动词, 一般都是 名词.动词 , 就比如 AST.parse() make do run walk enable disable parse build notify compare 还有一些特定场景下的: downloadPage promisify expect box / pipe / then 链式调用let total = 0 for(cont el of list){ total += el }const getLongestWordLength = R.pipe( R.split(' '), R.map(R.length), R.reduce(R.max, 0) );
Last updated



