remove unused
This commit is contained in:
1 parent
301dab1ca5
commit
ea1c3413a5
88 files changed
+29
-5766
No files matched your search
@@ -12,9 +12,6 @@
|
||||
<span>
|
||||
{{ $t('application.field.api') }}
|
||||
</span>
|
||||
<span v-if="type === applicationType.PROXY">
|
||||
{{ $t('application.field.proxy') }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :label="$t('application.field.name')">
|
||||
{{ object?.title }}
|
||||
@@ -23,9 +20,6 @@
|
||||
<span v-if="type === applicationType.API">
|
||||
{{ object?.free_amount }}{{ $t(`api.unit.${object?.unit}`) }}
|
||||
</span>
|
||||
<span v-if="type === applicationType.PROXY">
|
||||
{{ object?.free_amount }}{{ $t(`proxy.unit.${object?.unit}`) }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-divider class="my-2" />
|
||||
@@ -43,7 +37,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElDialog, ElDescriptions, ElDescriptionsItem, ElDivider, ElCheckbox, ElButton, ElMessage } from 'element-plus';
|
||||
import { IApi, IApplicationType, IProxy } from '@/operators';
|
||||
import { IApi, IApplicationType } from '@/operators';
|
||||
import ApplicationPolicy from './Policy.vue';
|
||||
|
||||
interface IData {
|
||||
@@ -65,7 +59,7 @@ export default defineComponent({
|
||||
},
|
||||
props: {
|
||||
object: {
|
||||
type: Object as () => IApi | IProxy,
|
||||
type: Object as () => IApi,
|
||||
required: true
|
||||
},
|
||||
type: {
|
||||
|
||||
Reference in new issue
Block a user