mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-26 12:48:48 +08:00
修改tinymce富文本下拉菜单错位的bug (#1996)
This commit is contained in:
parent
da8e0bdf91
commit
0902de7504
@ -22,7 +22,7 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
overflow-x: hidden !important;
|
//overflow-x: hidden !important; // 这个会导致tinymce富文本,下拉菜单错位!!!
|
||||||
|
|
||||||
&.color-weak {
|
&.color-weak {
|
||||||
filter: invert(80%);
|
filter: invert(80%);
|
||||||
|
@ -41,6 +41,21 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'tinymce2',
|
||||||
|
component: 'Input',
|
||||||
|
label: 'tinymce2',
|
||||||
|
defaultValue: 'tinymce2',
|
||||||
|
rules: [{ required: true }],
|
||||||
|
render: ({ model, field }) => {
|
||||||
|
return h(Tinymce, {
|
||||||
|
value: model[field],
|
||||||
|
onChange: (value: string) => {
|
||||||
|
model[field] = value;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
];
|
];
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: { BasicForm, CollapseContainer, PageWrapper },
|
components: { BasicForm, CollapseContainer, PageWrapper },
|
||||||
|
Loading…
Reference in New Issue
Block a user