- 添加剧本动作
+ 剧本动作
diff --git a/src/views/display/tipScriptRecord.vue b/src/views/display/tipScriptRecord.vue
index 2dec5ee56..7a60a4bfd 100644
--- a/src/views/display/tipScriptRecord.vue
+++ b/src/views/display/tipScriptRecord.vue
@@ -14,10 +14,10 @@
+ 重置剧本
{{$t('scriptRecord.saveMaplocation')}}
{{$t('scriptRecord.saveBackground')}}
{{$t('scriptRecord.saveData')}}
-
@@ -97,12 +97,13 @@
})
},
dumpScenesData() {
- this.$confirm('此操作将会清除已保存的录制数据, 是否继续?', '提示', {
+ let group=this.group;
+ this.$confirm('此操作将会清除已保存的编制数据, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
- dumpScriptData(this.scriptId).then(resp => {
+ dumpScriptData(group).then(resp => {
// this.isSaveStage = true;
this.$message.success('清除数据成功');
}).catch(error => {
diff --git a/src/views/scriptManage/category/tree.vue b/src/views/scriptManage/category/tree.vue
index 0d2ff960b..195c933e9 100644
--- a/src/views/scriptManage/category/tree.vue
+++ b/src/views/scriptManage/category/tree.vue
@@ -7,7 +7,7 @@