mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
讲师管理bug
This commit is contained in:
@@ -398,7 +398,7 @@
|
||||
/>
|
||||
评分
|
||||
</template>
|
||||
<a-input-number class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="0" :precision="0" placeholder="请输入评分"
|
||||
<a-input-number class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="1" :precision="0" placeholder="请输入评分"
|
||||
allowClear @change="scoreNumber">
|
||||
</a-input-number>
|
||||
</a-form-item>
|
||||
@@ -1454,7 +1454,7 @@ getAllLevelList().then((res) => {
|
||||
const clearscoreNumber= () => {
|
||||
state.formParam.score = state.formParam.score?.replace(/\D/g, '');
|
||||
state.formParam.score == 0 && (state.formParam.score = null);
|
||||
state.formParam.score > 10 && (state.formParam.score = '10');
|
||||
// state.formParam.score > 10 && (state.formParam.score = '10');
|
||||
}
|
||||
const payExpense = () => {
|
||||
state.formParam.payableExpense = state.formParam.payableExpense?.replace(/\D/g, '');
|
||||
|
||||
Reference in New Issue
Block a user