|
@@ -3,9 +3,30 @@
|
|
|
+ 修改UI updatedevice页面<br>
|
|
|
+ 编写服务端datasource接口<br>
|
|
|
### The Problem
|
|
|
-problem:The operator != is undefined for the argument type(s) int,nullJava(536871072)<br>
|
|
|
+problem:The operator != is undefined for the argument type(s) int,nullJava(536871072)<br>
|
|
|
- Before/after modification<br>
|
|
|
```JAVA
|
|
|
public int getId() { public Integer getId() {<br>
|
|
|
return id; ==> return id;<br>
|
|
|
-} }
|
|
|
+} }
|
|
|
+```
|
|
|
+<br />
|
|
|
+
|
|
|
+## 2022.10.13
|
|
|
+### OneDayDay
|
|
|
++ 编写服务端datasource更新方法<br>
|
|
|
++ 编写网页端datasource界面<br>
|
|
|
++ 寻找 updateDevice is not a function 报错原因
|
|
|
+### The Problem
|
|
|
+problem:TypeError: _vm.updateDevice is not a function<br>
|
|
|
+- Before/after modification<br>
|
|
|
+```JS
|
|
|
+<el-form-item>
|
|
|
+ <el-button type="primary" @click="updateName('editDevice')">确认</el-button>
|
|
|
+</el-form-item>
|
|
|
+
|
|
|
+<el-form-item>
|
|
|
+ <el-button type="primary" @click="updatedevice('editDevice')">确认</el-button>
|
|
|
+</el-form-item>
|
|
|
+```
|
|
|
+<br />
|