提交 deef8e62 编写于 作者: P piexlmax

修复了api下存在的bug,部署模式添加https指导

上级 15272bb8
...@@ -3,6 +3,6 @@ ENV = 'production' ...@@ -3,6 +3,6 @@ ENV = 'production'
VITE_CLI_PORT = 8080 VITE_CLI_PORT = 8080
VITE_SERVER_PORT = 8888 VITE_SERVER_PORT = 8888
VITE_BASE_API = /api VITE_BASE_API = /api
#下方修改为你的线上ip #下方修改为你的线上ip 如果 https模式下则使用域名 并且配置代理 (不建议上线使用表单生成器)
#VITE_BASE_PATH = http://8.141.61.63 #VITE_BASE_PATH = http://x.x.x.x
VITE_BASE_PATH = https://demo.gin-vue-admin.com VITE_BASE_PATH = https://demo.gin-vue-admin.com
...@@ -228,6 +228,9 @@ export default { ...@@ -228,6 +228,9 @@ export default {
// 排序 // 排序
sortChange({ prop, order }) { sortChange({ prop, order }) {
if (prop) { if (prop) {
if (prop === 'ID') {
prop = 'id'
}
this.searchInfo.orderKey = toSQLLine(prop) this.searchInfo.orderKey = toSQLLine(prop)
this.searchInfo.desc = order === 'descending' this.searchInfo.desc = order === 'descending'
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册