From ffdf2a44ba3e822562ec8082cec9031a22bbe0c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=95=B0?= Date: Wed, 18 Jan 2017 14:23:00 +0800 Subject: [PATCH] bugfix, default export whole database when tables is null --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 8a20c1c..e7e9565 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,7 @@ function handleSubmit(form) { const data = getFormData(form); - data.tables = data.tables.split(','); + data.tables = data.tables ? data.tables.split(',') : ''; data.directory = data.directory || __dirname + '/models' data.camelCase = data.camelCase === 'on'