Răsfoiți Sursa

fix: 修改plop模板数据

MTrun 3 ani în urmă
părinte
comite
0a223afab2
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      plop/store-template/index.d.hbs
  2. 1 1
      plop/store-template/index.hbs

+ 1 - 1
plop/store-template/index.d.hbs

@@ -1,3 +1,3 @@
-export interface {{name}}StoreType {
+export interface {{upperDataName}}StoreType {
   
 }

+ 1 - 1
plop/store-template/index.hbs

@@ -1,5 +1,5 @@
 import { defineStore } from 'pinia'
-import { {{name}}StoreType } from './{{name}}Store.d'
+import { {{upperDataName}}StoreType } from './{{name}}Store.d'
 import { setLocalStorage, getLocalStorage } from '@/utils'
 import { StorageEnum } from '@/enums/storageEnum'