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>
|
<!DOCTYPE html>
|
||||||
<html lang="zh">
|
<html lang="zh">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="@fortawesome/fontawesome-free/css/all.css" />
|
<link rel="stylesheet" href="@fortawesome/fontawesome-free/css/all.css" />
|
||||||
<link
|
<link rel="stylesheet" href="@fortawesome/fontawesome-free/css/v4-shims.css" />
|
||||||
rel="stylesheet"
|
|
||||||
href="@fortawesome/fontawesome-free/css/v4-shims.css"
|
|
||||||
/>
|
|
||||||
<link rel="stylesheet" title="ang" href="amis-ui/scss/helper.scss" />
|
|
||||||
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
|
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
|
||||||
<!--STYLE_PLACEHOLDER-->
|
<!--STYLE_PLACEHOLDER-->
|
||||||
<link rel="stylesheet" title="ang" href="amis-ui/scss/themes/ang.scss" />
|
<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="cxd" href="amis-ui/scss/themes/cxd.scss" />
|
||||||
<link rel="stylesheet" title="dark" href="amis-ui/scss/themes/dark.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="antd" href="amis-ui/scss/themes/antd.scss" />
|
||||||
|
<link rel="stylesheet" title="helper" href="amis-ui/scss/helper.scss" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -31,4 +29,4 @@
|
|||||||
})(window);
|
})(window);
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -335,10 +335,13 @@ export class EditorManager {
|
|||||||
| PluginClass
|
| PluginClass
|
||||||
| [PluginClass, Record<string, any> | (() => Record<string, any>)]
|
| [PluginClass, Record<string, any> | (() => Record<string, any>)]
|
||||||
>
|
>
|
||||||
) {
|
): (
|
||||||
|
| PluginClass
|
||||||
|
| [PluginClass, Record<string, any> | (() => Record<string, any>)]
|
||||||
|
)[] {
|
||||||
return (
|
return (
|
||||||
plugins?.map(klass => {
|
plugins?.map(klass => {
|
||||||
let options: any;
|
let options;
|
||||||
if (Array.isArray(klass)) {
|
if (Array.isArray(klass)) {
|
||||||
options = klass[1];
|
options = klass[1];
|
||||||
klass = klass[0];
|
klass = klass[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user