diff --git a/src/language/java/5-application.md b/src/language/java/5-application.md index d3f9d9c7..a5610f63 100644 --- a/src/language/java/5-application.md +++ b/src/language/java/5-application.md @@ -36,4 +36,19 @@ email: ```java //注解键名 @ConfigurationProperties(prefix = "email") -``` \ No newline at end of file +``` + +## 多环境多文件配置 + +### 多环境配置 + +![](assets%2Fjdk0013.png) + + +### 使用外置配置文件 + +![](assets%2Fjdk0012.png) + + +很简单拷一份yml就行了,在jar包同级目录启动即可。 + diff --git a/src/language/java/README.md b/src/language/java/README.md index 3f472497..f0b28c2a 100644 --- a/src/language/java/README.md +++ b/src/language/java/README.md @@ -120,4 +120,4 @@ REM 启动应用程序,并保持命令窗口打开 start cmd /k "cd /d %CURRENT_DIR% && java -jar %JAR_FILE%" exit -``` \ No newline at end of file +``` diff --git a/src/language/java/assets/jdk0012.png b/src/language/java/assets/jdk0012.png new file mode 100644 index 00000000..a83521ad Binary files /dev/null and b/src/language/java/assets/jdk0012.png differ diff --git a/src/language/java/assets/jdk0013.png b/src/language/java/assets/jdk0013.png new file mode 100644 index 00000000..33c46a08 Binary files /dev/null and b/src/language/java/assets/jdk0013.png differ diff --git a/src/tools/vuepress/assets/vue0001.png b/src/tools/vuepress/assets/vue0001.png new file mode 100644 index 00000000..3a36a440 Binary files /dev/null and b/src/tools/vuepress/assets/vue0001.png differ diff --git a/src/tools/vuepress/vue.md b/src/tools/vuepress/vue.md new file mode 100644 index 00000000..6932c758 --- /dev/null +++ b/src/tools/vuepress/vue.md @@ -0,0 +1,14 @@ +--- +title: vue2.基本使用 +order : 1 +category: + - vue +--- + +## 基本指令 + +![](assets%2Fvue0001.png) + +### 指令官网 + +[https://cn.vuejs.org/api/built-in-directives.html#v-bind](https://cn.vuejs.org/api/built-in-directives.html#v-bind) \ No newline at end of file diff --git a/src/tools/vuepress/vuepress-add-comp.md b/src/tools/vuepress/vuepress-add-comp.md index 59ab0ee0..e21d0a94 100644 --- a/src/tools/vuepress/vuepress-add-comp.md +++ b/src/tools/vuepress/vuepress-add-comp.md @@ -10,6 +10,7 @@ category: vuepress添加自定义组件-以实现聊天气泡为例。 ## 实现目标 + 这是一条聊天消息。 diff --git a/src/unreal/assets/bp.png b/src/unreal/assets/bp.png new file mode 100644 index 00000000..71800948 Binary files /dev/null and b/src/unreal/assets/bp.png differ diff --git a/src/unreal/assets/bp_001.png b/src/unreal/assets/bp_001.png new file mode 100644 index 00000000..664db2aa Binary files /dev/null and b/src/unreal/assets/bp_001.png differ diff --git "a/src/unreal/core[\346\240\270\345\277\203]/4.4-EnhancedInput.md" "b/src/unreal/core[\346\240\270\345\277\203]/4.4-EnhancedInput.md" index 9d25c16c..77c1bd59 100644 --- "a/src/unreal/core[\346\240\270\345\277\203]/4.4-EnhancedInput.md" +++ "b/src/unreal/core[\346\240\270\345\277\203]/4.4-EnhancedInput.md" @@ -360,4 +360,14 @@ enum class EMouseCaptureMode : uint8 /** Capture only when the right mouse button is down, not any of the other mouse buttons */ CaptureDuringRightMouseDown, }; -``` \ No newline at end of file +``` + +![](..%2Fassets%2Fbp.png) + +## 技巧 + + +显示UI时可以考虑把鼠标捕获到屏幕中间 + + +![](..%2Fassets%2Fbp_001.png) diff --git "a/src/unreal/core[\346\240\270\345\277\203]/5-Interface.md" "b/src/unreal/core[\346\240\270\345\277\203]/5-Interface.md" index f75e5fdf..23781bbe 100644 --- "a/src/unreal/core[\346\240\270\345\277\203]/5-Interface.md" +++ "b/src/unreal/core[\346\240\270\345\277\203]/5-Interface.md" @@ -125,6 +125,13 @@ if (Interface) } ``` +```cpp +if (Actor->Implements()) +{ + IHighlightInterface::Execute_UnHighlightActor(Actor); +} +``` + ### 参考链接 [官方文档](https://docs.unrealengine.com/4.26/zh-CN/ProgrammingAndScripting/GameplayArchitecture/Interfaces/) \ No newline at end of file