This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vue.directive('drag', (el) => { | |
| const oDiv = el // 当前元素 | |
| const minTop = oDiv.getAttribute('drag-min-top') | |
| const ifMoveSizeArea = 20 | |
| oDiv.onmousedown = e => { | |
| let target = oDiv | |
| while (window.getComputedStyle(target).position !== 'absolute' && target !== document.body) { | |
| target = target.parentElement | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on run | |
| tell application "Finder" to set aliasItemName to selection as alias | |
| set posixPathName to POSIX path of aliasItemName | |
| return posixPathName | |
| end run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "editor.renderFinalNewline": "dimmed", | |
| "workbench.colorCustomizations": { | |
| "editorLineNumber.foreground": "#222", | |
| "editorLineNumber.activeForeground": "#666", | |
| "editorLineNumber.dimmedForeground": "#111", | |
| "editorIndentGuide.background": "#222", | |
| "editorIndentGuide.activeBackground": "#666", | |
| "editor.lineHighlightBackground": "#111", //修改光标所在行的背景色 | |
| "editor.lineHighlightBorder": "#333", //修改光标所在行的边框色 | |
| "editor.wordHighlightBorder": "#e4893995" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| install(Vue) { | |
| const delegates = { | |
| 'el-select': (component, element) => { | |
| return [component.$refs.reference.$el] | |
| }, | |
| 'el-pagination': (component, element) => { | |
| const sizesComponent = component.$children.find((child) => child.$options._componentTag === 'sizes'); | |
| const eles_ElSelectInSizes = delegates['el-select'](sizesComponent.$children[0], element); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set SERVER_ROOT=C:\Users\sunzsh\Desktop\simple_app | |
| set JAR_NAME=simple.war | |
| set JVM_XMS=64m | |
| set JVM_XMX=384m | |
| set JVM_XMN=32m | |
| set JVM_MS=128m | |
| set JVM_MMS=256m | |
| set SPRING_PROFILE= | |
| set JAVA_OPT=%JAVA_OPT% -server -Xms%JVM_XMS% -Xmx%JVM_XMX% -Xmn%JVM_XMN% -XX:MetaspaceSize=%JVM_MS% -XX:MaxMetaspaceSize=%JVM_MMS% |
OlderNewer