* commit 'b6bf63b0814657fb2b90f2f9985d64de08dda08c': fix: 无jira任务,修改默认图片名称
@ -6,6 +6,7 @@ BI.DOM.ready(() => {
BI.config(ConstantRedisType, datas => [...datas, {
text: 'Redis',
databaseType: 'Redis',
iconUrl: 'http://alan-picpack.oss-cn-hangzhou.aliyuncs.com/1567134942861890',
}]);
const RedisShowName = 'dec.dcm.connection.plugin.redis.show';
@ -76,7 +76,7 @@ export class DatebaseType extends BI.BasicButton {
const ImgObj = new Image();
ImgObj.src = this.img.getSrc();
ImgObj.onerror = () => {
this.img.setSrc(`${ImgPrefix}other.jpg`);
this.img.setSrc(`${ImgPrefix}default.jpg`);
};
}