mirror of
https://gitee.com/vben/vben-web.git
synced 2026-10-06 06:12:56 +08:00
升级vue-next-admin 2.3,具体见CHANGELOG.md
This commit is contained in:
@@ -5,5 +5,5 @@ VITE_PORT = 868
|
||||
VITE_OPEN = false
|
||||
|
||||
# public path 配置线上环境路径(打包)、本地通过 http-server 访问时,请置空即可
|
||||
VITE_PUBLIC_PATH = /vue/
|
||||
#VITE_PUBLIC_PATH = /
|
||||
#VITE_PUBLIC_PATH = /vue/
|
||||
VITE_PUBLIC_PATH = /
|
||||
|
||||
@@ -4,5 +4,4 @@ ENV = 'development'
|
||||
# 本地环境接口地址
|
||||
VITE_API_URL = 'http://localhost:5000/'
|
||||
#VITE_API_URL = 'http://localhost:8088/'
|
||||
#VITE_API_URL = 'http://222.92.228.219:5302/'
|
||||
VITE_UI_URL = 'http://localhost:868/'
|
||||
|
||||
+1
-3
@@ -4,7 +4,5 @@ ENV = 'production'
|
||||
# 线上环境接口地址
|
||||
#VITE_API_URL = 'https://lyt-top.gitee.io/vue-next-admin-preview/'
|
||||
|
||||
VITE_API_URL = 'http://222.92.228.219:5301/'
|
||||
#VITE_API_URL = 'http://10.0.2.40:5302/'
|
||||
|
||||
#VITE_API_URL = 'http://localhost:5000/'
|
||||
VITE_API_URL = 'http://localhost:5000/'
|
||||
|
||||
+12
-12
@@ -33,9 +33,9 @@ export async function listDelete(state: any) {
|
||||
type: 'warning',
|
||||
})
|
||||
.then(async () => {
|
||||
ElMessage.warning('演示模式,禁用了删除');
|
||||
// await request({url: state.url + '/' + delIds, method: 'delete',});
|
||||
// await listQuery(state);
|
||||
// ElMessage.warning('演示模式,禁用了删除');
|
||||
await request({url: state.url + '/' + delIds, method: 'delete',});
|
||||
await listQuery(state);
|
||||
})
|
||||
.catch(() => ElMessage.info('已取消删除'));
|
||||
}
|
||||
@@ -47,9 +47,9 @@ export const listItemDelete = async (state: any, id: string) => {
|
||||
type: 'warning',
|
||||
})
|
||||
.then(async () => {
|
||||
ElMessage.warning('演示模式,禁用了删除');
|
||||
// await request({url: state.url + '/' + id, method: 'delete',});
|
||||
// await listQuery(state);
|
||||
// ElMessage.warning('演示模式,禁用了删除');
|
||||
await request({url: state.url + '/' + id, method: 'delete',});
|
||||
await listQuery(state);
|
||||
})
|
||||
.catch(() => ElMessage.info('已取消删除'));
|
||||
};
|
||||
@@ -82,9 +82,9 @@ export async function treeDelete(state: any) {
|
||||
type: 'warning',
|
||||
})
|
||||
.then(async () => {
|
||||
ElMessage.warning('演示模式,禁用了删除');
|
||||
// await request({url: state.url + '/' + delIds, method: 'delete',});
|
||||
// await treeQuery(state);
|
||||
// ElMessage.warning('演示模式,禁用了删除');
|
||||
await request({url: state.url + '/' + delIds, method: 'delete',});
|
||||
await treeQuery(state);
|
||||
})
|
||||
.catch(() => ElMessage.info('已取消删除'));
|
||||
}
|
||||
@@ -96,9 +96,9 @@ export const treeItemDelete = async (state: any, id: string) => {
|
||||
type: 'warning',
|
||||
})
|
||||
.then(async () => {
|
||||
ElMessage.warning('演示模式,禁用了删除');
|
||||
// await request({url: state.url + '/' + id, method: 'delete',});
|
||||
// await treeQuery(state);
|
||||
// ElMessage.warning('演示模式,禁用了删除');
|
||||
await request({url: state.url + '/' + id, method: 'delete',});
|
||||
await treeQuery(state);
|
||||
})
|
||||
.catch(() => ElMessage.info('已取消删除'));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user