We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15272bb commit deef8e6Copy full SHA for deef8e6
web/.env.production
@@ -3,6 +3,6 @@ ENV = 'production'
3
VITE_CLI_PORT = 8080
4
VITE_SERVER_PORT = 8888
5
VITE_BASE_API = /api
6
-#下方修改为你的线上ip
7
-#VITE_BASE_PATH = http://8.141.61.63
+#下方修改为你的线上ip 如果 https模式下则使用域名 并且配置代理 (不建议上线使用表单生成器)
+#VITE_BASE_PATH = http://x.x.x.x
8
VITE_BASE_PATH = https://demo.gin-vue-admin.com
web/src/view/superAdmin/api/api.vue
@@ -228,6 +228,9 @@ export default {
228
// 排序
229
sortChange({ prop, order }) {
230
if (prop) {
231
+ if (prop === 'ID') {
232
+ prop = 'id'
233
+ }
234
this.searchInfo.orderKey = toSQLLine(prop)
235
this.searchInfo.desc = order === 'descending'
236
}
0 commit comments