chore:名片上方的距离删除
This commit is contained in:
@@ -23,7 +23,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
card: null,
|
||||
loading: false,
|
||||
// 首帧先走骨架屏, 避免数据回来前闪一下「商家还未选择名片」空态
|
||||
loading: true,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -141,6 +142,7 @@ export default {
|
||||
fetchData() {
|
||||
const cardId = String((this.value || {}).cardId || '').trim();
|
||||
if (cardId === '') {
|
||||
this.loading = false;
|
||||
this.card = null;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user