pflhm2005
pflhm2005
我自己封装了一下el-upload的功能以适合项目的特殊功能 ` ` 但是我发现这里的disabled属性影响到了删除功能,默认情况下DOM结构如下: ` ` 但是在disabled情况下,加粗的完全没有渲染出来,也就是不能删除了。 特地去看了下upload.js中的源码,在element-ui/lib/utils/upload.js中的第669行-687行写明了关于span.el-upload-list__item-actions子节点的渲染逻辑:(_vm.handlePreview && _vm.listType === 'picture-card') ? (渲染span,el-upload-list__item-preview,否则渲染span.el-upload-list__item-delete),也就是总会渲染一个子节点,不懂disabled属性是怎么影响这里,求指教!
### Existing Component Yes ### Component Name el-tabs ### Description The underline under the first tab is not at the center,it is always keep to the left.
Challenge [Inventory Update](https://www.freecodecamp.cn/challenges/inventory-update#?solution=function%20updateInventory(arr1%2C%20arr2)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20All%20inventory%20must%20be%20accounted%20for%20or%20you're%20fired!%0A%20%20%20%20%20%20%20%20var%20hascontent%3Dfalse%3B%0A%20%20%20%20%20%20%20%20for(var%20i%3D0%3Bi%3Carr2.length%3Bi%2B%2B)%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20for(var%20j%3D0%3Bj%3Carr1.length%3Bj%2B%2B)%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if(arr2%5Bi%5D%5B1%5D%3D%3Darr1%5Bj%5D%5B1%5D)%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20hascontent%3Dtrue%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20arr1%5Bj%5D%5B0%5D%2B%3Darr2%5Bi%5D%5B0%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20if(!hascontent)%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20arr1.push(arr2%5Bi%5D)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20hascontent%3Dfalse%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20return%20arr1%3B%0A%20%20%20%20%7D%0A%0A%2F%2F%20Example%20inventory%20lists%0Avar%20curInv%20%3D%20%5B%0A%20%20%20%20%5B21%2C%20%22Bowling%20Ball%22%5D%2C%0A%20%20%20%20%5B2%2C%20%22Dirty%20Sock%22%5D%2C%0A%20%20%20%20%5B1%2C%20%22Hair%20Pin%22%5D%2C%0A%20%20%20%20%5B5%2C%20%22Microphone%22%5D%0A%5D%3B%0A%0Avar%20newInv%20%3D%20%5B%0A%20%20%20%20%5B2%2C%20%22Hair%20Pin%22%5D%2C%0A%20%20%20%20%5B3%2C%20%22Half-Eaten%20Apple%22%5D%2C%0A%20%20%20%20%5B67%2C%20%22Bowling%20Ball%22%5D%2C%0A%20%20%20%20%5B7%2C%20%22Toothpaste%22%5D%0A%5D%3B%0A%0AupdateInventory(%5B%5B21%2C%20%22Bowling%20Ball%22%5D%2C%20%5B2%2C%20%22Dirty%20Sock%22%5D%2C%20%5B1%2C%20%22Hair%20Pin%22%5D%2C%20%5B5%2C%20%22Microphone%22%5D%5D%2C%20%5B%5B2%2C%20%22Hair%20Pin%22%5D%2C%20%5B3%2C%20%22Half-Eaten%20Apple%22%5D%2C%20%5B67%2C%20%22Bowling%20Ball%22%5D%2C%20%5B7%2C%20%22Toothpaste%22%5D%5D)%3B%0A) has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36. Please describe how to reproduce this issue, and include links...
https://github.com/niklasvh/html2canvas/blob/3982df1492bdc40a8e5fa16877cc0291883c8e1a/src/render/canvas/canvas-renderer.ts#L598 do you mean (rx>0 && ry>0)?
Hi, I wonder why agent relaunch call function openService but not openAgent? Reference code locate at /lib/units/device/plugins/service.js#L245. ``` function prepareForAgentDeath(conn) { function endListener() { var startTime = Date.now() log.important('Agent connection...
### MDN URL https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/sort ### What specific section or headline is this issue about? _No response_ ### What information was incorrect, unhelpful, or incomplete? https://github.com/mdn/translated-content/blob/main/files/zh-cn/web/javascript/reference/global_objects/array/sort/index.md?plain=1#L209 ### What did you expect...