+
+
+
+
+
+
+
+ 新增策略
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
+
+
+
+
+
+
diff --git a/web/src/views/cultivate/appRelease/model.ts b/web/src/views/cultivate/appRelease/model.ts
new file mode 100644
index 0000000..a4cee45
--- /dev/null
+++ b/web/src/views/cultivate/appRelease/model.ts
@@ -0,0 +1,112 @@
+import { ref } from 'vue';
+import { cloneDeep } from 'lodash-es';
+import { FormSchema } from '@/components/Form';
+import { useDictStore } from '@/store/modules/dict';
+
+const dict = useDictStore();
+
+export class State {
+ public id = 0;
+ public platform = 'android';
+ public channel = 'stable';
+ public latestVersion = '1.0.0';
+ public minSupportedVersion = '1.0.0';
+ public updateType = 'none';
+ public releaseNotes = '';
+ public storeUrl = '';
+ public packageUrl = '';
+ public checksum = '';
+ public remindAfterSeconds = 0;
+ public publishedAt = '';
+ public updatedAt = '';
+
+ constructor(state?: Partial