shanbinzhang 3 days ago
parent
commit
9c8d7de352
2 changed files with 2 additions and 3 deletions
  1. 1 1
      src/views/business_manage/components/SetPermission.vue
  2. 1 2
      vite.config.js

+ 1 - 1
src/views/business_manage/components/SetPermission.vue

@@ -214,7 +214,6 @@ watch(
   (newValue) => {
     if (newValue) {
       searchTxt.value = '';
-      activeTab.value = '图库';
     }
   },
   { immediate: true }
@@ -286,6 +285,7 @@ const changeSearchTxt = () => {
 }
 // 关闭弹窗
 const handleClose = () => {
+  activeTab.value = '图库';
   emit('close');
 };
 

+ 1 - 2
vite.config.js

@@ -93,8 +93,7 @@ export default defineConfig(({ mode }) => {
       proxy:{
         '/v1': {
           // target: 'http://192.168.20.10:8912/v1',
-          // target: 'http://8.136.199.33:8900/v1',
-          target: 'http://192.168.77.34:8912/v1',
+          target: 'http://8.136.199.33:8900/v1',
           // target: 'http://8.136.199.33:7777/adminapi/',
           changeOrigin: true,
           rewrite: (path) => path.replace(/^\/v1/, ''),