From d6d67d357da3374975bff9b0b5793e04b59889e4 Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Thu, 29 Sep 2022 22:04:29 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=A8=A1=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plop-templates/store/index.hbs | 4 ++-- plop-templates/store/prompt.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plop-templates/store/index.hbs b/plop-templates/store/index.hbs index 6be06c7d..b3336c53 100644 --- a/plop-templates/store/index.hbs +++ b/plop-templates/store/index.hbs @@ -4,8 +4,8 @@ const use{{ properCase name }}Store = defineStore( { state: () => ({}), getters: {}, - actions: {} - } + actions: {}, + }, ) export default use{{ properCase name }}Store diff --git a/plop-templates/store/prompt.js b/plop-templates/store/prompt.js index 7e7b22a8..527bcea5 100644 --- a/plop-templates/store/prompt.js +++ b/plop-templates/store/prompt.js @@ -18,7 +18,7 @@ module.exports = { const actions = [ { type: 'add', - path: 'src/store/modules/{{camelCase name}}.js', + path: 'src/store/modules/{{camelCase name}}.ts', templateFile: 'plop-templates/store/index.hbs', }, ]