|
|
@@ -33,6 +33,7 @@
|
|
|
:class="{ 'is-error': priceError }"
|
|
|
type="number"
|
|
|
placeholder="请输入价格"
|
|
|
+ @input="handlePriceInput"
|
|
|
v-model="price"></el-input>
|
|
|
<span class="yuan">元</span>
|
|
|
</div>
|
|
|
@@ -400,6 +401,12 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this._publishSkillData('pcreate')
|
|
|
+ },
|
|
|
+ handlePriceInput(e){
|
|
|
+ if(e > 10000){
|
|
|
+ this.price = 10000
|
|
|
+ this.$toast("最高金额10000元")
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|