mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-30 23:49:10 +08:00
fix: 解决打开应用详情页,控制台报错的 BUG (#218)
This commit is contained in:
parent
8c182e907d
commit
fdf9215d43
@ -5,7 +5,7 @@
|
||||
<el-row :gutter="20">
|
||||
<div>
|
||||
<el-col :span="3">
|
||||
<el-avatar shape="square" :size="180" :src="'data:image/png;base64,' + app.icon" />
|
||||
<el-avatar shape="square" :size="180" :src="app.icon" />
|
||||
</el-col>
|
||||
</div>
|
||||
<el-col :span="18">
|
||||
@ -120,6 +120,7 @@ const getApp = async () => {
|
||||
try {
|
||||
const res = await GetApp(props.appKey);
|
||||
app.value = res.data;
|
||||
app.value.icon = 'data:image/png;base64,' + res.data.icon;
|
||||
version.value = app.value.versions[0];
|
||||
getDetail(app.value.id, version.value);
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user