修正ts类型
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
||||
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getlist" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -93,7 +93,7 @@ const router = useRouter();
|
||||
const route = useRoute();
|
||||
const form = ref({
|
||||
id: null,
|
||||
categoryId: '', // 分类id、
|
||||
categoryName: '', // 分类id、
|
||||
deviceName: '', // 设备名称
|
||||
deviceCode: '', // 编号
|
||||
deviceModel: '', // 型号
|
||||
@@ -121,7 +121,7 @@ function init() {
|
||||
getDevice(userid.value).then(async (res) => {
|
||||
form.value = {
|
||||
id: res.data.id,
|
||||
categoryId: res.data.categoryId,
|
||||
categoryName: res.data.categoryName,
|
||||
deviceName: res.data.deviceName,
|
||||
deviceCode: res.data.deviceCode,
|
||||
deviceModel: res.data.deviceModel,
|
||||
|
||||
Reference in New Issue
Block a user