modify(login): 修改登录返回对象,新增返回用户信息
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
<div class="field-wrap">
|
||||
<i class="icon" :data-feather="props.iconName" ref="iconElement"></i>
|
||||
|
||||
<input :type="props.type" v-model="inputValue" :placeholder="props.placeholder" v-bind="attrs"/>
|
||||
<input :type="props.type" v-model="inputValue" :placeholder="props.placeholder" v-bind="attrs"
|
||||
@input="inputHandler"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -76,6 +78,7 @@ const renderFeatherIcon = () => {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// 1. 组件挂载后渲染图标
|
||||
onMounted(() => {
|
||||
renderFeatherIcon();
|
||||
|
||||
Reference in New Issue
Block a user