7c470165 by lihua

是否缓存默认改为是

1 parent d7acbcb5
...@@ -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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!