From a1b6e56427fa7279e65afc880b7124c6cf289177 Mon Sep 17 00:00:00 2001 From: mk1990 <153958232@qq.com> Date: 星期一, 28 三月 2022 10:11:13 +0800 Subject: [PATCH] 1. 修改control.vue 报Invalid prop: type check failed for prop "column". Expected Number with value 1, got String with value "1". 2. 修改control.vue Error: [vue-clipboards] Invalid value. Please use a valid value. 3. 修改DeviceList.vue 刷新时报 [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "loading" --- web_src/src/components/dialog/deviceEdit.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/dialog/deviceEdit.vue b/web_src/src/components/dialog/deviceEdit.vue index 464de02..4f86851 100644 --- a/web_src/src/components/dialog/deviceEdit.vue +++ b/web_src/src/components/dialog/deviceEdit.vue @@ -10,7 +10,7 @@ @close="close()" > <div id="shared" style="margin-top: 1rem;margin-right: 100px;"> - <el-form ref="form" :rules="rules" :model="form" label-width="140px" > + <el-form ref="form" :rules="rules" :model="form" label-width="240px" > <el-form-item label="璁惧缂栧彿" > <el-input v-model="form.deviceId" disabled></el-input> </el-form-item> @@ -35,6 +35,9 @@ <el-option key="GB2312" label="GB2312" value="gb2312"></el-option> <el-option key="UTF-8" label="UTF-8" value="utf-8"></el-option> </el-select> + </el-form-item> + <el-form-item label="鐩綍璁㈤槄鍛ㄦ湡(0涓哄仠鐢ㄨ闃�)" prop="subscribeCycleForCatalog" > + <el-input v-model="form.subscribeCycleForCatalog" clearable ></el-input> </el-form-item> <el-form-item> <div style="float: right;"> @@ -82,7 +85,7 @@ }, getMediaServerList: function (){ let that = this; - that.mediaServerObj.getMediaServerList((data)=>{ + that.mediaServerObj.getOnlineMediaServerList((data)=>{ that.mediaServerList = data.data; }) }, -- Gitblit v1.8.0