mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-07-05 01:58:15 +08:00
refactor: ♻️ 框架代码同步
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
"vue-i18n": "11.1.3",
|
||||
"vue-router": "4.5.0",
|
||||
"vue3-ace-editor": "2.2.4",
|
||||
"vue3-json-viewer": "2.2.2",
|
||||
"vue3-json-viewer": "2.3.0",
|
||||
"vuedraggable": "4.0.3",
|
||||
"vuex": "4.1.0"
|
||||
},
|
||||
|
@ -3,7 +3,11 @@
|
||||
<div v-if="this.$TOOL.getNestedProperty(data, this.prop)?.toString().toLowerCase() === item.value?.toString().toLowerCase()">
|
||||
<scStatusIndicator
|
||||
:pulse="item.pulse"
|
||||
:style="item.type ? '' : `background: #${Math.abs(this.$TOOL.crypto.hashCode(item.value)).toString(16).substring(0, 6)}`"
|
||||
:style="
|
||||
item.type && item.type !== 'none'
|
||||
? ''
|
||||
: `background: #${Math.abs(this.$TOOL.crypto.hashCode(item.value)).toString(16).substring(0, 6)}`
|
||||
"
|
||||
:type="item.type" />
|
||||
<span v-if="!$slots.default"> {{ item.text }}</span>
|
||||
<slot :data="data" :text="item.text"></slot>
|
||||
|
Reference in New Issue
Block a user