mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-02 20:17:45 +08:00
[Core] [History] Fixed code
This commit is contained in:
parent
761a43ab9b
commit
64310cd563
@ -22,6 +22,7 @@ export interface SourceModel
|
||||
updateTime?: string
|
||||
configures?: Map<string, string>
|
||||
schema?: any
|
||||
code?: string
|
||||
}
|
||||
|
||||
export class SourceRequest
|
||||
|
@ -360,7 +360,7 @@ export default defineComponent({
|
||||
id: null,
|
||||
name: null as string | null | undefined,
|
||||
description: null as string | null | undefined,
|
||||
query: null,
|
||||
query: null as string | null,
|
||||
syncMode: 'MANUAL',
|
||||
columns: [] as any[],
|
||||
source: { id: null },
|
||||
@ -434,7 +434,7 @@ export default defineComponent({
|
||||
DatasetService.saveOrUpdate(this.formState as unknown as DatasetModel)
|
||||
.then(response => {
|
||||
if (response.status) {
|
||||
ToastUtils.success(`${ this.$t('dataset.tip.publishSuccess').replace('$VALUE', this.formState.name) }`)
|
||||
ToastUtils.success(`${ this.$t('dataset.tip.publishSuccess').replace('$VALUE', this.formState.name as string) }`)
|
||||
this.$router.push('/admin/dataset')
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user