diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index 691d3db8f..9c3b456b1 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -11,6 +11,7 @@ import VnSelect from 'src/components/common/VnSelect.vue'; import VnRow from 'components/ui/VnRow.vue'; import FetchData from 'components/FetchData.vue'; import { useClipboard } from 'src/composables/useClipboard'; +import VnImg from 'src/components/ui/VnImg.vue'; const state = useState(); const session = useSession(); @@ -47,7 +48,6 @@ const darkMode = computed({ }); const user = state.getUser(); -const token = session.getTokenMultimedia(); const warehousesData = ref(); const companiesData = ref(); const accountBankData = ref(); @@ -149,10 +149,7 @@ function saveUserData(param, value) {
- +
diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index 07e82abed..4cd964012 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -22,6 +22,10 @@ const $props = defineProps({ type: String, default: '', }, + clearable: { + type: Boolean, + default: true, + }, }); const { t } = useI18n(); @@ -88,7 +92,7 @@ const inputRules = [ diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index 04ccca889..52cb68438 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -1,6 +1,5 @@