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 970b2d2 commit 7cb172dCopy full SHA for 7cb172d
server/cmd/datas/dictionary_details.go
@@ -16,7 +16,7 @@ func InitSysDictionaryDetail(db *gorm.DB) (err error) {
16
{gorm.Model{ID: 2, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "mediumint", 2, status, 2, 2},
17
{gorm.Model{ID: 3, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "int", 3, status, 3, 2},
18
{gorm.Model{ID: 4, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "bigint", 4, status, 4, 2},
19
- {gorm.Model{ID: 5, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "data", 0, status, 0, 3},
+ {gorm.Model{ID: 5, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "date", 0, status, 0, 3},
20
{gorm.Model{ID: 6, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "time", 1, status, 1, 3},
21
{gorm.Model{ID: 7, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "year", 2, status, 2, 3},
22
{gorm.Model{ID: 8, CreatedAt: time.Now(), UpdatedAt: time.Now()}, "datetime", 3, status, 3, 3},
server/resource/template/fe/table.vue.tpl
@@ -110,7 +110,7 @@ import {
110
find{{.StructName}},
111
get{{.StructName}}List
112
} from "@/api/{{.PackageName}}"; // 此处请自行替换地址
113
-import { formatTimeToStr } from "@/utils/data";
+import { formatTimeToStr } from "@/utils/date";
114
import infoList from "@/components/mixins/infoList";
115
116
export default {
web/src/utils/data.js renamed to web/src/utils/date.js
web/src/view/example/customer/customer.vue
@@ -74,7 +74,7 @@ import {
74
getExaCustomer,
75
getExaCustomerList
76
} from "@/api/customer";
77
78
79
80
web/src/view/example/upload/upload.vue
@@ -85,7 +85,7 @@ import { mapGetters } from "vuex";
85
86
import { getFileList, deleteFile } from "@/api/fileUploadAndDownload";
87
import { downloadImage } from "@/utils/downloadImg";
88
89
import CustomPic from "@/components/customPic";
90
import UploadImage from "@/components/upload/image.vue";
91
web/src/view/superAdmin/dictionary/sysDictionary.vue
@@ -117,7 +117,7 @@ import {
117
findSysDictionary,
118
getSysDictionaryList
119
} from "@/api/sysDictionary"; // 此处请自行替换地址
120
121
122
123
name: "SysDictionary",
web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue
@@ -114,7 +114,7 @@ import {
findSysDictionaryDetail,
getSysDictionaryDetailList
} from "@/api/sysDictionaryDetail"; // 此处请自行替换地址
web/src/view/superAdmin/operation/sysOperationRecord.vue
@@ -113,7 +113,7 @@ import {
getSysOperationRecordList,
deleteSysOperationRecordByIds
} from '@/api/sysOperationRecord' // 此处请自行替换地址
-import { formatTimeToStr } from '@/utils/data'
+import { formatTimeToStr } from '@/utils/date'
import infoList from '@/components/mixins/infoList'
0 commit comments