Procházet zdrojové kódy

应用编辑修改

zhongxiaoyu před 3 roky
rodič
revize
20e5fcb326

+ 2 - 2
src/views/authorityManagement/components/authorityAppEdit.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2021-11-29 09:18:04
- * @LastEditTime: 2022-03-17 10:04:34
+ * @LastEditTime: 2022-03-17 14:09:47
  * @LastEditors: your name
  * @Description: 新增/编辑应用
  * @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\addApp.vue
@@ -168,7 +168,7 @@ export default {
           this.form.name = AppName;
           // this.form.id = AppShowId;
           // this.form.app = AppShowSecret;
-          this.form.id = Number(RequestType);
+          this.form.id = Number(RequestType) || '';
           this.form.app = BodyType;
           this.form.desc = AppDesc;
           this.form.url = AppUrl;