请求处理代理
商品管理 商品分类 用户管理 桌台 代客下单 进销存 交班 预定座位 充值管理 存酒管理
This commit is contained in:
@@ -162,6 +162,11 @@ export default {
|
||||
name: String,
|
||||
value: [Number, String],
|
||||
modelValue: [Number, String],
|
||||
paddingNone:{
|
||||
//自己加的,去除input的style padding
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: 'text'
|
||||
@@ -301,6 +306,10 @@ export default {
|
||||
},
|
||||
// input右侧样式
|
||||
inputStyle() {
|
||||
if(this.paddingNone) {
|
||||
//去除padding
|
||||
return ''
|
||||
}
|
||||
const paddingRight = this.type === 'password' || this.clearable || this.prefixIcon ? '' : '10px';
|
||||
return obj2strStyle({
|
||||
'padding-right': paddingRight,
|
||||
|
||||
Reference in New Issue
Block a user