mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: 修复之前导入 default 会报错问题 (#2408)
This commit is contained in:
parent
bc6cefae8c
commit
2c8720e704
@ -61,9 +61,9 @@
|
||||
);
|
||||
} else {
|
||||
document.write(
|
||||
`<link rel="stylesheet" title="default" ${
|
||||
theme !== 'default' ? 'disabled' : ''
|
||||
} href="${__uri('../scss/themes/default-ie11.scss')}" />`
|
||||
`<link rel="stylesheet" title="ang" ${
|
||||
theme !== 'ang' ? 'disabled' : ''
|
||||
} href="${__uri('../scss/themes/ang-ie11.scss')}" />`
|
||||
);
|
||||
document.write(
|
||||
`<link rel="stylesheet" title="cxd" ${
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "amis",
|
||||
"version": "1.2.3-beta.7",
|
||||
"version": "1.2.3-beta.8",
|
||||
"description": "一种MIS页面生成工具",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
@ -1,4 +1,7 @@
|
||||
import {theme} from '../theme';
|
||||
import {theme, ClassNamesFn, makeClassnames} from '../theme';
|
||||
|
||||
export const classPrefix: string = 'cxd-';
|
||||
export const classnames: ClassNamesFn = makeClassnames(classPrefix);
|
||||
|
||||
// yunshe.design 百度云舍
|
||||
theme('cxd', {
|
||||
|
@ -2,4 +2,4 @@
|
||||
* @file 这个文件只作为兼容,后续没有 default 了,default 就是 cxd
|
||||
*/
|
||||
|
||||
import './cxd';
|
||||
export * from './cxd';
|
||||
|
Loading…
Reference in New Issue
Block a user