移动端菜单使用移动端图标选择器

pull/84/head
每天一点 2 years ago
parent 45e2f2528f
commit bb0a54c5d8

@ -73,7 +73,8 @@
<a-button style="margin-right: 8px" @click="onClose"></a-button>
<a-button type="primary" @click="onSubmit" :loading="submitLoading">保存</a-button>
</template>
<Icon-selector ref="iconSelector" @iconCallBack="iconCallBack" />
<!-- <Icon-selector ref="iconSelector" @iconCallBack="iconCallBack" />-->
<icon-mobile-selector ref="iconSelector" @iconCallBack="iconCallBack" />
</a-drawer>
</template>
@ -84,7 +85,8 @@
import { required } from '@/utils/formRules'
import mobileMenuApi from '@/api/mobile/resource/menuApi'
import ColorPicker from '@/components/ColorPicker/index.vue'
import IconSelector from '@/components/Selector/iconSelector.vue'
// import IconSelector from '@/components/Selector/iconSelector.vue'
import IconMobileSelector from '@/components/Selector/iconMobileSelector.vue'
//
const visible = ref(false)
const emit = defineEmits({ successful: null })

@ -47,7 +47,8 @@
<span v-else>{{record.path}}</span>
</template>
<template v-if="column.dataIndex === 'icon'">
<component :is="record.icon" />
<!-- <component :is="record.icon" />-->
<span class="snowy xn-icons" :class="record.icon" ></span>
</template>
<template v-if="column.dataIndex === 'regType'">
{{ $TOOL.dictTypeData('MOBILE_REG_TYPE', record.regType) }}

Loading…
Cancel
Save