Explorar el Código

打包配置 删除

黄琪勇 hace 1 mes
padre
commit
795edb2279
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 0 1
      package.json
  2. 1 1
      src/views/pptResources/index.tsx

+ 0 - 1
package.json

@@ -16,7 +16,6 @@
     "dev": "vite",
     "start": "npm run dev",
     "build:prod": "vue-tsc --noEmit && vite build",
-    "build:dev": "vue-tsc --noEmit && vite build --mode development",
     "serve": "vite preview",
     "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
     "generate": "plop",

+ 1 - 1
src/views/pptResources/index.tsx

@@ -15,7 +15,7 @@ export default defineComponent({
       pptId: route.query.pptId as string // ppt传过来的id
     };
     console.log(queryParams, '传过来的参数');
-    const pptTypeObj = {
+    const pptTypeObj: Record<string, any> = {
       INSTRUMENT: 'instrument',
       MUSICIAN: 'musician',
       MUSIC_WIKI: 'wiki',