Kaynağa Gözat

fix:添加删除

luoxiao 1 ay önce
ebeveyn
işleme
34b91d0bd3
2 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 1 1
      .env.production
  2. 3 0
      src/views/sets/users.vue

+ 1 - 1
.env.production

@@ -2,7 +2,7 @@
 NODE_ENV='production'
 
 # 上传文件接口地址
-VITE_APP_UPLOAD_URL = '192.168.102.86:9000'
+VITE_APP_UPLOAD_URL = 'http://192.168.102.96:9000'
 
 # 代理前缀
 VITE_APP_BASE_API = '/prod-api'

+ 3 - 0
src/views/sets/users.vue

@@ -20,6 +20,9 @@
         <el-button text type="primary" @click="changePassword(row)"
           >修改密码</el-button
         >
+        <el-button text type="primary" @click="deleteRow(row)"
+          >删除用户</el-button
+        >
       </template>
     </avue-crud>