forked from flipped-aurora/gin-vue-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<template> | ||
<div> | ||
<el-form | ||
:inline="true" | ||
:model="form" | ||
:rules="rules" | ||
label-width="85px" | ||
ref="menuForm" | ||
label-position="top" | ||
> | ||
<el-form-item prop="icon" style="width:100%"> | ||
<!--<el-input autocomplete="off" v-model="form.meta.icon"> | ||
<template slot="prepend">el-icon-</template> | ||
</el-input>--> | ||
<el-select v-model="value" filterable placeholder="请选择"> | ||
<el-option | ||
v-for="item in options" | ||
:key="item.value" | ||
:label="item.label" | ||
:value="item.value"> | ||
</el-option> | ||
</el-select> | ||
</el-form-item> | ||
</el-form> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "icon", | ||
data(){ | ||
return { | ||
input:'', | ||
options: [{ | ||
value: 'el-icon-platform-eleme', | ||
label: 'el-icon-platform-eleme' | ||
}, { | ||
value: 'el-icon-eleme', | ||
label: 'el-icon-eleme' | ||
}, { | ||
value: 'el-icon-delete-solid', | ||
label: 'el-icon-delete-solid' | ||
}, { | ||
value: 'el-icon-delete', | ||
label: 'el-icon-delete' | ||
}, { | ||
value: 'el-icon-s-tools', | ||
label: 'el-icon-s-tools' | ||
}], | ||
value: '' | ||
} | ||
}, | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters