ysy 2 lat temu
rodzic
commit
9280d2ab3e

+ 12 - 0
src/views/system/menu/components/menu-edit.vue

@@ -50,6 +50,18 @@
             />
           </el-form-item>
         </el-col>
+
+        <el-col :span="12">
+          <el-form-item label="权限编码:" prop="permissionCode">
+            <el-input
+              clearable
+              v-model="form.permissionCode"
+              placeholder="请输入路由地址"
+            />
+          </el-form-item>
+        </el-col>
+
+
         <el-col :span="12">
           <el-form-item label="菜单图标:">
             <ele-icon-picker

+ 9 - 0
src/views/system/menu/index.vue

@@ -133,6 +133,15 @@ export default {
           showOverflowTooltip: true,
           minWidth: 110
         },
+
+        {
+          prop: 'permissionCode',
+          label: '权限编码',
+          align: 'center',
+          showOverflowTooltip: true,
+          width: 60
+        },
+
         {
           prop: 'sort',
           label: '排序',

+ 2 - 2
vue.config.js

@@ -33,9 +33,9 @@ module.exports = {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
         // target: 'http://124.71.68.31:50001',
-        target: 'http://192.168.1.139:18086',
+        // target: 'http://192.168.1.139:18086',
         // target: 'http://192.168.1.132:18086',
-        // target: 'http://192.168.1.100:18086',
+              target: 'http://124.71.21.222:50001',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''