Commit 428a77a3 authored by jingnan's avatar jingnan 👀

合并产品【10315】合并10139 【陕飞】app配置中心...

parent ccd2ddfa
......@@ -93,6 +93,10 @@ export default {
type: Boolean,
default: () => false
},
onlyBaseProp: {
type: Boolean,
default: () => false
},
splitIcon: {
type: String,
default: () => '.'
......@@ -240,6 +244,14 @@ export default {
},
methods: {
updateOption(option) {
if (this.onlyBaseProp) {
const baseType = ['Long', 'String', 'Integer', 'Boolean', 'Short', 'Float', 'BigInteger', 'Double', 'BidDecimal', 'LocalDataTime', 'DictDataVO']
option.forEach(el => {
if (!baseType.includes(el.fildProp.type)) {
el.disabled = true
}
})
}
const updateTree = (tree, index) => {
tree.forEach(item => {
if (!isNaN(Number(index))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment