소스 검색

fix: 修改plop模板数据

MTrun 3 년 전
부모
커밋
0a223afab2
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'