是否缓存默认改为是
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -398,7 +398,7 @@ const baseInfoFormItems = ref([ | ... | @@ -398,7 +398,7 @@ const baseInfoFormItems = ref([ |
| 398 | field: 'isCache', | 398 | field: 'isCache', |
| 399 | block: false, | 399 | block: false, |
| 400 | disabled: false, | 400 | disabled: false, |
| 401 | default: 'N', | 401 | default: 'Y', |
| 402 | options: [{ | 402 | options: [{ |
| 403 | value: 'Y', | 403 | value: 'Y', |
| 404 | label: '是' | 404 | label: '是' |
| ... | @@ -653,7 +653,7 @@ const assetDataTableInfo = ref({ | ... | @@ -653,7 +653,7 @@ const assetDataTableInfo = ref({ |
| 653 | }); | 653 | }); |
| 654 | 654 | ||
| 655 | const setFormItems = (val) => { | 655 | const setFormItems = (val) => { |
| 656 | val = Object.assign({ dataSources: 1, damType: 1, databaseType: '' }, val); | 656 | val = Object.assign({ dataSources: 1, damType: 1, databaseType: '', isCache: 'Y' }, val); |
| 657 | baseInfoFormItems.value.forEach(item => { | 657 | baseInfoFormItems.value.forEach(item => { |
| 658 | item.default = val[item.field]; | 658 | item.default = val[item.field]; |
| 659 | if (item.children?.length) { | 659 | if (item.children?.length) { | ... | ... |
-
Please register or sign in to post a comment