mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-01 15:07:43 +00:00
perf: json many to many field, set timeout to submit
This commit is contained in:
10
package.json
10
package.json
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-admin-template",
|
"name": "Lina",
|
||||||
"version": "4.2.1",
|
"version": "v4",
|
||||||
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
|
"description": "JumpServer Web UI",
|
||||||
"author": "Pan <panfree23@gmail.com>",
|
"author": "JumpServer Team <support@fit2cloud.com>",
|
||||||
"license": "MIT",
|
"license": "GPL-3.0-or-later",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
@@ -41,9 +41,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Select2 from '@/components/Form/FormFields/Select2.vue'
|
|
||||||
import IBox from '../../IBox/index.vue'
|
|
||||||
import { createSourceIdCache } from '@/api/common'
|
import { createSourceIdCache } from '@/api/common'
|
||||||
|
import { Select2 } from '@/components/Form/FormFields'
|
||||||
|
import IBox from '@/components/IBox/index.vue'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import DataForm from '@/components/Form/DataForm/index.vue'
|
|
||||||
import Dialog from '@/components/Dialog/index.vue'
|
import Dialog from '@/components/Dialog/index.vue'
|
||||||
|
import DataForm from '@/components/Form/DataForm/index.vue'
|
||||||
import ValueField from '@/components/Form/FormFields/JSONManyToManySelect/ValueField.vue'
|
import ValueField from '@/components/Form/FormFields/JSONManyToManySelect/ValueField.vue'
|
||||||
import { attrMatchOptions, typeMatchMapper } from '@/components/const'
|
import { attrMatchOptions, typeMatchMapper } from '@/components/const'
|
||||||
|
|
||||||
@@ -128,7 +128,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onAttrDialogConfirm(form) {
|
onAttrDialogConfirm(form) {
|
||||||
this.$emit('confirm', form)
|
setTimeout(() => {
|
||||||
|
this.$emit('confirm', form)
|
||||||
|
}, 300)
|
||||||
},
|
},
|
||||||
updateMatchOptions(attr) {
|
updateMatchOptions(attr) {
|
||||||
if (!attr) {
|
if (!attr) {
|
||||||
|
@@ -570,3 +570,9 @@ li.rmenu i.fa {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-alert__description {
|
||||||
|
a {
|
||||||
|
color: var(--color-link);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user