diff --git a/src/views/resource/GamePlayView.vue b/src/views/resource/GamePlayView.vue
index d4f3e3f..562d6f5 100644
--- a/src/views/resource/GamePlayView.vue
+++ b/src/views/resource/GamePlayView.vue
@@ -75,7 +75,7 @@
跳转位置
-
+
@@ -116,7 +116,7 @@
{{ rule.ruleName
}}
+ :placeholder="rule.description" v-if="rule.ruleKind != 'IN' && (!resource.ruleValue['PLATFORM'] || resource.ruleValue['PLATFORM'] == '' || resource.ruleValue['PLATFORM'] == 'null' || (rule.ruleCode == 'IOS_LOW_VERSION' && resource.ruleValue['PLATFORM'] == 'ios') || (rule.ruleCode == 'IOS_HIGH_VERSION' && resource.ruleValue['PLATFORM'] == 'ios') || (rule.ruleCode == 'ANDROID_LOW_VERSION' && resource.ruleValue['PLATFORM'] == 'android') || (rule.ruleCode == 'ANDROID_HIGH_VERSION' && resource.ruleValue['PLATFORM'] == 'android'))">
@@ -354,13 +354,20 @@ export default {
if (endTime) {
this.resource.endTime = new Date(endTime).format("yyyy-MM-dd hh:mm:ss");
}
+ let id = this.resource.id;
+ let skipType = this.resource.skipType;
+ if (!id && skipType == 1) {
+ $("#tipMsg").text('APP NATIVE不允许新增');
+ $("#tipModal").modal('show');
+ return;
+ }
saveResource({
id: this.resource.id,
code: this.resource.code,
name: this.resource.name,
icon: this.resource.icon,
type: 3,
- skipType: this.resource.skipType,
+ skipType: skipType,
showType: this.resource.showType,
skipContent: this.resource.skipContent,
url: this.resource.url,
diff --git a/src/views/room/RoomTabHomeView.vue b/src/views/room/RoomTabHomeView.vue
index eafbe9a..7a841d1 100644
--- a/src/views/room/RoomTabHomeView.vue
+++ b/src/views/room/RoomTabHomeView.vue
@@ -7,13 +7,6 @@
+
@@ -92,7 +96,6 @@
-
@@ -112,16 +115,6 @@
placeholder="多个平台号使用换行符分隔">
-