This is an automated email from the ASF dual-hosted git repository.
min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git
The following commit(s) were added to refs/heads/develop by this push:
new 59dde6b Fix AceEditor width/height config 'px' suffix (#122)
59dde6b is described below
commit 59dde6b260252da671656b140d35b789cd445fd0
Author: 马金凯 <[email protected]>
AuthorDate: Thu Sep 27 14:00:32 2018 +0800
Fix AceEditor width/height config 'px' suffix (#122)
---
dubbo-admin-frontend/src/components/AceEditor.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dubbo-admin-frontend/src/components/AceEditor.vue
b/dubbo-admin-frontend/src/components/AceEditor.vue
index bab63b7..1d58ef0 100644
--- a/dubbo-admin-frontend/src/components/AceEditor.vue
+++ b/dubbo-admin-frontend/src/components/AceEditor.vue
@@ -16,7 +16,7 @@
-->
<template>
- <div :style="{height: myConfig.height + 'px', width: myConfig.width +
'px'}"></div>
+ <div :style="{height: myConfig.height, width: myConfig.width}"></div>
</template>
<script>
@@ -24,7 +24,7 @@ import brace from 'brace'
let defaultConfig = {
width: '100%',
- height: 300,
+ height: '300px',
lang: 'yaml',
theme: 'monokai',
readonly: false,