From be3e1a2983b48a5007f0f48081b12c7a612fee70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Thu, 30 Mar 2023 17:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/tireManagement/info/index.vue | 10 +++++----- ruoyi-ui/src/views/tireManagement/salesData/index.vue | 2 +- ruoyi-ui/vite.config.js | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/tireManagement/info/index.vue b/ruoyi-ui/src/views/tireManagement/info/index.vue index 7a07e31..1a5eaf1 100644 --- a/ruoyi-ui/src/views/tireManagement/info/index.vue +++ b/ruoyi-ui/src/views/tireManagement/info/index.vue @@ -90,7 +90,7 @@ plain icon="Plus" @click="handleAdd" - v-hasPermi="['basetyre:basetyre:add']" + v-hasPermi="['basetyre:tyre:add']" >{{ t('option.add') }} @@ -101,7 +101,7 @@ icon="Delete" :disabled="multiple" @click="handleDelete" - v-hasPermi="['basetyre:basetyre:remove']" + v-hasPermi="['basetyre:tyre:remove']" >{{ t('option.remove') }} @@ -111,7 +111,7 @@ plain icon="Upload" @click="handleImport" - v-hasPermi="['system:user:import']" + v-hasPermi="['basetyre:tyre:import']" >导入 @@ -120,7 +120,7 @@ plain icon="Download" @click="handleExport" - v-hasPermi="['basetyre:basetyre:export']" + v-hasPermi="['basetyre:tyre:export']" >{{ t('option.export') }} @@ -148,7 +148,7 @@ type="text" icon="Edit" @click="handleUpdate(scope.row)" - v-hasPermi="['basetyre:basetyre:edit']" + v-hasPermi="['basetyre:tyre:edit']" >{{ t('option.edit') }} diff --git a/ruoyi-ui/src/views/tireManagement/salesData/index.vue b/ruoyi-ui/src/views/tireManagement/salesData/index.vue index 142e062..4cb2357 100644 --- a/ruoyi-ui/src/views/tireManagement/salesData/index.vue +++ b/ruoyi-ui/src/views/tireManagement/salesData/index.vue @@ -63,7 +63,7 @@ plain icon="Download" @click="handleExport" - v-hasPermi="['basetyre:basetyre:export']" + v-hasPermi="['basetyre:tyre:export']" >{{ t('option.export') }} diff --git a/ruoyi-ui/vite.config.js b/ruoyi-ui/vite.config.js index 31d5c39..d3a8730 100644 --- a/ruoyi-ui/vite.config.js +++ b/ruoyi-ui/vite.config.js @@ -31,8 +31,8 @@ export default defineConfig(({mode, command}) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://10.11.41.249:8080', - // target: 'http://localhost:8080', + // target: 'http://10.11.41.249:8080', + target: 'http://localhost:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') }