Skip to content

Commit

Permalink
feat: update default placeholder image
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Aug 6, 2023
1 parent b3c2868 commit 41d96d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/gi-sdk/src/constants/template.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GIConfig } from '../typing';
import $i18n from '../i18n';
import { GIConfig } from '../typing';
export const nodes: GIConfig['nodes'] = [
{
id: 'SimpleNode',
Expand Down Expand Up @@ -205,12 +205,12 @@ export const components = [
id: 'Placeholder',
name: $i18n.get({ id: 'sdk.src.constants.template.CanvasPlaceholder', dm: '画布占位符' }),
props: {
img: 'https://gw.alipayobjects.com/zos/bmw-prod/db278704-6158-432e-99d2-cc5db457585d.svg',
img: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1BGfQ78mW4kAAAAAAAAAAAAADmJ7AQ/original',
text: $i18n.get({
id: 'sdk.src.constants.template.TheCurrentCanvasIsEmpty',
dm: '当前画布为空,请先试试「数据/图数据源/导入/示例数据」',
dm: '当前暂无画布数据,请先试试「案例数据」',
}),
width: 380,
width: 340,
},
},
{
Expand Down

0 comments on commit 41d96d8

Please sign in to comment.