Explorar o código

服务编辑-新增输出修改

zhongxiaoyu %!s(int64=2) %!d(string=hai) anos
pai
achega
9c86a41574

+ 2 - 2
src/views/systemSettings/views/serviceManagement/serviceEdit.vue

@@ -1,6 +1,6 @@
 <!--
  * @Date: 2022-03-24 09:55:13
- * @LastEditTime: 2022-05-12 16:46:25
+ * @LastEditTime: 2022-05-16 09:29:59
  * @LastEditors: your name
  * @Description: 服务管理-编辑服务
  * have a nice day!
@@ -614,7 +614,7 @@ export default {
       }
       try {
         let message
-        if (outputTarget.serviceOutputID ?? true) {
+        if (outputTarget.serviceOutputID !== null) {
           message = await this.updateServiceOutput('update', outputTarget)
         } else {
           message = await this.updateServiceOutput('create', outputTarget)