可以在服務器端或者客戶端在圖片後綴名之後加上“?隨機數”即可
function imgs(){
$arr=[
'https://domain/Public/img/1.jpg?'.rand(),
'https://domain/Public/img/2.jpg?'.rand(),
'https://domain/Public/img/3.jpg?'.rand(),
];
ajax_success($arr);
}
可以在服務器端或者客戶端在圖片後綴名之後加上“?隨機數”即可
function imgs(){
$arr=[
'https://domain/Public/img/1.jpg?'.rand(),
'https://domain/Public/img/2.jpg?'.rand(),
'https://domain/Public/img/3.jpg?'.rand(),
];
ajax_success($arr);
}
Component({ behaviors: [], // 屬性定義(詳情參見下文) properties: { myProperty: { // 屬性名 type: String,