编写前端请求代码
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /task_schedule/src/components/ArchievementCompleteRateComponent.vue
|
||||
* @Description: 业绩完成率组件
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<div class="complete-rate-wrapper">
|
||||
@@ -29,7 +29,7 @@ export default {
|
||||
percentage: {
|
||||
type: String,
|
||||
require: true,
|
||||
default:()=>"0",
|
||||
default: () => "0",
|
||||
},
|
||||
indicator: {
|
||||
type: String,
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
const percentage = Number(props.percentage).valueOf();
|
||||
|
||||
const ui = reactive({
|
||||
percentage: percentage,
|
||||
percentage,
|
||||
indicator: props.indicator,
|
||||
});
|
||||
|
||||
@@ -79,6 +79,5 @@ export default {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user