mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: issues-6683: jssdk helper样式优先级问题 (#6802)
* fix: issues-6683: jssdk helper样式优先级问题 * fix: typecheck 编译
This commit is contained in:
parent
a77b406416
commit
ed221e7887
@ -1,18 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="@fortawesome/fontawesome-free/css/all.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="@fortawesome/fontawesome-free/css/v4-shims.css"
|
||||
/>
|
||||
<link rel="stylesheet" title="ang" href="amis-ui/scss/helper.scss" />
|
||||
<link rel="stylesheet" href="@fortawesome/fontawesome-free/css/v4-shims.css" />
|
||||
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
|
||||
<!--STYLE_PLACEHOLDER-->
|
||||
<link rel="stylesheet" title="ang" href="amis-ui/scss/themes/ang.scss" />
|
||||
<link rel="stylesheet" title="cxd" href="amis-ui/scss/themes/cxd.scss" />
|
||||
<link rel="stylesheet" title="dark" href="amis-ui/scss/themes/dark.scss" />
|
||||
<link rel="stylesheet" title="antd" href="amis-ui/scss/themes/antd.scss" />
|
||||
<link rel="stylesheet" title="helper" href="amis-ui/scss/helper.scss" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -31,4 +29,4 @@
|
||||
})(window);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
@ -335,10 +335,13 @@ export class EditorManager {
|
||||
| PluginClass
|
||||
| [PluginClass, Record<string, any> | (() => Record<string, any>)]
|
||||
>
|
||||
) {
|
||||
): (
|
||||
| PluginClass
|
||||
| [PluginClass, Record<string, any> | (() => Record<string, any>)]
|
||||
)[] {
|
||||
return (
|
||||
plugins?.map(klass => {
|
||||
let options: any;
|
||||
let options;
|
||||
if (Array.isArray(klass)) {
|
||||
options = klass[1];
|
||||
klass = klass[0];
|
||||
|
Loading…
Reference in New Issue
Block a user