diff --git a/collect_information/src/store/daily.ts b/collect_information/src/store/daily.ts index 844ed89..8fa40c7 100644 --- a/collect_information/src/store/daily.ts +++ b/collect_information/src/store/daily.ts @@ -12,19 +12,14 @@ export const useDailyStore = defineStore('daily', { this.userdailyinspection = [...data] }, change_base64_1(data) { - // console.log("🚀 ~ change_base64_1 ~ data:", data) this.base64_1 = data }, change_base64_2(data) { this.base64_2 = data }, - cleardailtcolour() { - this.userdailyinspection = { - ...this.userdailyinspection, - markColor: this.userdailyinspection.markColor, - markColor1: this.userdailyinspection.markColor, - comment: '' - } + clearSignData() { + this.base64_1 = '' + this.base64_2 = '' } }, getters: { diff --git a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue index c4e5a64..23eccdf 100644 --- a/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue +++ b/collect_information/src/subPages/police/dailyInspection/dailyInspection.vue @@ -1,6 +1,5 @@