refactor(force-notice): 移除模板插槽中的未使用作用域变量
移除以下文件中模板插槽定义的未使用作用域变量: - src/views/forceNotice/force/handle.vue - src/views/forceNotice/force/list.vue - src/views/forceNotice/inclusion/handle.vue - src/views/forceNotice/inclusion/list.vue - src/views/forceNotice/liccan/list.vue - src/views/forceNotice/recovery/list.vue - src/views/forceNotice/remove/list.vue 这些作用域变量在插槽使用中并未被实际使用,移除后使代码更简洁清晰。
This commit is contained in:
parent
f1e118ef90
commit
39a439f32a
|
|
@ -138,7 +138,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:entListTable="scope">
|
<template v-slot:entListTable>
|
||||||
<easy-table
|
<easy-table
|
||||||
ref="EntListTable"
|
ref="EntListTable"
|
||||||
v-model="entListTableData"
|
v-model="entListTableData"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
:search-form-prop="searchFormProp"
|
:search-form-prop="searchFormProp"
|
||||||
:search-loader="searchLoader"
|
:search-loader="searchLoader"
|
||||||
>
|
>
|
||||||
<template v-slot:table-top="EditTable">
|
<template v-slot:table-top>
|
||||||
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
||||||
<el-button
|
<el-button
|
||||||
style="background: #32BBD6;"
|
style="background: #32BBD6;"
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:entListTable="scope">
|
<template v-slot:entListTable>
|
||||||
<easy-table
|
<easy-table
|
||||||
ref="EntListTable"
|
ref="EntListTable"
|
||||||
v-model="entListTableData"
|
v-model="entListTableData"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
:search-loader="searchLoader"
|
:search-loader="searchLoader"
|
||||||
@update:selected="(value)=>{selected = value}"
|
@update:selected="(value)=>{selected = value}"
|
||||||
>
|
>
|
||||||
<template v-slot:table-top="EditTable">
|
<template v-slot:table-top>
|
||||||
<div style="margin-bottom: 16px;">
|
<div style="margin-bottom: 16px;">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="type === 'todo'"
|
v-if="type === 'todo'"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
:search-loader="searchLoader"
|
:search-loader="searchLoader"
|
||||||
@update:selected="(value)=>{selected = value}"
|
@update:selected="(value)=>{selected = value}"
|
||||||
>
|
>
|
||||||
<template v-slot:table-top="EditTable">
|
<template v-slot:table-top>
|
||||||
<div style="margin-bottom: 16px;">
|
<div style="margin-bottom: 16px;">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="type === 'todo'"
|
v-if="type === 'todo'"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
:search-form-prop="searchFormProp"
|
:search-form-prop="searchFormProp"
|
||||||
:search-loader="searchLoader"
|
:search-loader="searchLoader"
|
||||||
>
|
>
|
||||||
<template v-slot:table-top="EditTable">
|
<template v-slot:table-top>
|
||||||
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
||||||
<el-button
|
<el-button
|
||||||
style="background: #32BBD6;"
|
style="background: #32BBD6;"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
:search-form-prop="searchFormProp"
|
:search-form-prop="searchFormProp"
|
||||||
:search-loader="searchLoader"
|
:search-loader="searchLoader"
|
||||||
>
|
>
|
||||||
<template v-slot:table-top="EditTable">
|
<template v-slot:table-top>
|
||||||
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
<div v-if="$route.meta.type === 'todo'" style="margin-bottom: 12px;">
|
||||||
<el-button
|
<el-button
|
||||||
style="background: #32BBD6;"
|
style="background: #32BBD6;"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue