From c601d106c43692ac4ca744b0f1572baaafeb4d26 Mon Sep 17 00:00:00 2001 From: yuanteng <1876787513@qq.com> Date: Mon, 2 Dec 2024 13:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=8D=E5=8A=A1=E7=B1=BB?= =?UTF-8?q?=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 6 +- package.json | 2 +- src/layout/components/Aside.vue | 1 - src/layout/components/appointTime.vue | 159 ++++++++++++ src/main.ts | 3 +- src/router/routes.ts | 6 +- src/views/Home.vue | 4 +- src/views/ServiceType/AddServiceProduct.vue | 261 +++++++++++++++++++- src/views/ServiceType/ProductCenter.vue | 4 +- src/views/test.vue | 116 ++++++--- 10 files changed, 509 insertions(+), 53 deletions(-) create mode 100644 src/layout/components/appointTime.vue diff --git a/package-lock.json b/package-lock.json index fe0a671..8acefd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -799,9 +799,9 @@ } }, "@types/node": { - "version": "20.16.15", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.16.15.tgz", - "integrity": "sha512-DV58qQz9dBMqVVn+qnKwGa51QzCD4YM/tQM16qLKxdf5tqz5W4QwtrMzjSTbabN1cFTSuyxVYBy+QWHjWW8X/g==", + "version": "20.17.6", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.17.6.tgz", + "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", "dev": true, "requires": { "undici-types": "~6.19.2" diff --git a/package.json b/package.json index fb06cd4..a4e9ec8 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@tsconfig/node20": "^20.1.4", - "@types/node": "^20.12.5", + "@types/node": "^20.17.6", "@vitejs/plugin-vue": "^5.0.4", "@vue/tsconfig": "^0.5.1", "npm-run-all2": "^6.1.2", diff --git a/src/layout/components/Aside.vue b/src/layout/components/Aside.vue index 7fc7a77..48fab1f 100644 --- a/src/layout/components/Aside.vue +++ b/src/layout/components/Aside.vue @@ -35,7 +35,6 @@ 图片上传 - diff --git a/src/layout/components/appointTime.vue b/src/layout/components/appointTime.vue new file mode 100644 index 0000000..a119601 --- /dev/null +++ b/src/layout/components/appointTime.vue @@ -0,0 +1,159 @@ + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 7d60ee1..5fab151 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,5 +18,6 @@ app.use(ElementPlus, {size: 'small'}) app.use(router) //使用pinia app.use(pinia) - +//屏蔽警告 +app.config.warnHandler=()=>null app.mount('#app') diff --git a/src/router/routes.ts b/src/router/routes.ts index 693c738..f89e196 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -1,5 +1,3 @@ - - export const routes = [ { path: '/', @@ -63,12 +61,12 @@ export const routes = [ { path: '/AddServiceProduct', name: '添加服务类商品', - componet: ()=> import("../views/ServiceType/AddServiceProduct.vue") + component: ()=> import("../views/ServiceType/AddServiceProduct.vue") }, { path: '/ProductCenter', name: '服务类商品管理中心', - componet: ()=> import("../views/ServiceType/ProductCenter.vue") + component: ()=> import("../views/ServiceType/ProductCenter.vue") } ] }, diff --git a/src/views/Home.vue b/src/views/Home.vue index 0ff095f..afef39c 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,11 +1,11 @@ \ No newline at end of file diff --git a/src/views/ServiceType/ProductCenter.vue b/src/views/ServiceType/ProductCenter.vue index 8e8347f..9ace828 100644 --- a/src/views/ServiceType/ProductCenter.vue +++ b/src/views/ServiceType/ProductCenter.vue @@ -1,7 +1,5 @@ - + \ No newline at end of file