chore: 去除luna品牌

This commit is contained in:
wuyue.xht 2021-04-21 20:32:57 +08:00
parent 8d05f30177
commit 6f290abe91
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ export default function addonRendererFactory() {
const schema = props.__schema || {}; const schema = props.__schema || {};
this.state = this.__parseData(schema.state || {}); this.state = this.__parseData(schema.state || {});
if (isEmpty(props.config) || !props.config.addonKey) { if (isEmpty(props.config) || !props.config.addonKey) {
console.warn('luna addon has wrong config'); console.warn('lce addon has wrong config');
this.state.__hasError = true; this.state.__hasError = true;
return; return;
} }

View File

@ -90,7 +90,7 @@ export function inSameDomain() {
export function getFileCssName(fileName: string) { export function getFileCssName(fileName: string) {
if (!fileName) return; if (!fileName) return;
const name = fileName.replace(/([A-Z])/g, '-$1').toLowerCase(); const name = fileName.replace(/([A-Z])/g, '-$1').toLowerCase();
return (`luna-${name}`) return (`lce-${name}`)
.split('-') .split('-')
.filter((p) => !!p) .filter((p) => !!p)
.join('-'); .join('-');