From 4b0516d5b358e1a26ac44b8f1bb905e1b9811218 Mon Sep 17 00:00:00 2001 From: mo-bai <1873032855@qq.com> Date: Mon, 25 Apr 2022 16:40:18 +0800 Subject: [PATCH] bug --- pages/smart-order/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/smart-order/index.vue b/pages/smart-order/index.vue index 976636a..4bc85e2 100644 --- a/pages/smart-order/index.vue +++ b/pages/smart-order/index.vue @@ -56,7 +56,7 @@ export default { }, option: { size: 10, - auto: false, + auto: true, emptyText: '暂无数据~', background: '#F7F8FA' }, @@ -67,6 +67,10 @@ export default { if (options.id) { this.condition.id = options.id this.getInfo(this.condition.id) + } + }, + mounted() { + if (this.condition.id) { this.downCallback() } },