summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js1
-rw-r--r--nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html1
2 files changed, 1 insertions, 1 deletions
diff --git a/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js b/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js
index 4cc96315..6ceb091d 100644
--- a/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js
+++ b/nezha-admin/src/main/resources/templates/js/modules/detect/metaMapping.js
@@ -169,6 +169,7 @@ var vm = new Vue({
hackReset();
vm.reset();
vm.newMapping = true;
+ vm.addMapping();
$("#saveOrUpdate").unbind('click').bind('click',this.save)
},
toUpdate: function () {
diff --git a/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html b/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html
index a04bb090..172dda1f 100644
--- a/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html
+++ b/nezha-admin/src/main/resources/templates/modules/detect/metaMapping.html
@@ -101,7 +101,6 @@
class="fa fa-reply"></i></button>
</div>
</div>
- <pre>{{$v.metaMappings.type}}</pre>
</form>
</div>
</div>