4aeef7d8 by lihua

是否缓存默认改为是

1 parent 3f93dce4
......@@ -398,7 +398,7 @@ const baseInfoFormItems = ref([
field: 'isCache',
block: false,
disabled: false,
default: 'N',
default: 'Y',
options: [{
value: 'Y',
label: '是'
......@@ -653,7 +653,7 @@ const assetDataTableInfo = ref({
});
const setFormItems = (val) => {
val = Object.assign({ dataSources: 1, damType: 1, databaseType: '' }, val);
val = Object.assign({ dataSources: 1, damType: 1, databaseType: '', isCache: 'Y' }, val);
baseInfoFormItems.value.forEach(item => {
item.default = val[item.field];
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!