update
This commit is contained in:
@@ -77,7 +77,8 @@ let mergeId = '';
|
||||
// 切换边框状态
|
||||
const toggleBorder = (item, index) => {
|
||||
activeBorders.value = activeBorders.value.map(() => false);
|
||||
|
||||
// 如果没有打榜,点击切换图片时,把当前背景图赋值给globalStore.result_url做为最新的背景图
|
||||
globalStore.result_url = item.result_url;
|
||||
activeBorders.value[index] = true;
|
||||
mergeId = item.id;
|
||||
};
|
||||
@@ -95,6 +96,7 @@ const handleDabangClick = () => {
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
ElMessage.success('打榜成功!');
|
||||
displayZhuli.value = true;
|
||||
console.log('Success:', data);
|
||||
globalStore.chartsBattle = true;
|
||||
return { success: true, data };
|
||||
|
||||
Reference in New Issue
Block a user