mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改图片组件不能动态更新的问题
This commit is contained in:
@@ -80,10 +80,10 @@ export default {
|
||||
msg: '请求成功',
|
||||
data: '@paragraph(1, 10)',
|
||||
},
|
||||
fetchImage: {
|
||||
fetchImage: (num: number) => ({
|
||||
code: 0,
|
||||
status: 200,
|
||||
msg: '请求成功',
|
||||
data: `https://robohash.org/${Math.round(Math.random()*10)}`,
|
||||
},
|
||||
data: `https://robohash.org/${num}`,
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user