blak-kong 2 years ago
commit a5febd1d6a

@ -55,6 +55,7 @@ export default class InstrumentClickInUpload extends Component<any, any> {
secondClockImg: null, secondClockImg: null,
thirdClockImg: null, thirdClockImg: null,
}, },
clockcontents:'',
// 现在选中的数据 // 现在选中的数据
currentInfo: { currentInfo: {
modeVideo: "", modeVideo: "",
@ -260,7 +261,15 @@ export default class InstrumentClickInUpload extends Component<any, any> {
videoLoadedMetaData = async () => {}; videoLoadedMetaData = async () => {};
handleTextareaInput = async (e) => { handleTextareaInput = async (e) => {
<<<<<<< HEAD
this.setState({ punchInInfo: { clockContent: e.detail.value } }); this.setState({ punchInInfo: { clockContent: e.detail.value } });
=======
const punchInInfo = this.state.punchInInfo;
punchInInfo.clockContent = e.detail.value;
let clockcontents = e.detail.value;
this.setState({ punchInInfo, clockcontents });
// this.setState({ punchInInfo:{...punchInInfo,clockContent: e.detail.value} });
>>>>>>> qsj
}; };
onModeLockOpen = async () => { onModeLockOpen = async () => {
@ -291,6 +300,7 @@ export default class InstrumentClickInUpload extends Component<any, any> {
punchInInfo, punchInInfo,
isTipShow, isTipShow,
currentInfo, currentInfo,
clockcontents,
modeInfo, modeInfo,
nurseInfo, nurseInfo,
isModeLock, isModeLock,
@ -471,10 +481,10 @@ export default class InstrumentClickInUpload extends Component<any, any> {
</View> </View>
<View className="content"> <View className="content">
<Textarea <Textarea
placeholder-className="placeholder" placeholder-className="placeh和给g'holder"
maxlength={100} maxlength={100}
onInput={this.handleTextareaInput} onInput={this.handleTextareaInput}
value={punchInInfo.clockContent} value={clockcontents}
placeholder="请记录一下今天打卡的心得吧~" placeholder="请记录一下今天打卡的心得吧~"
></Textarea> ></Textarea>
{/* {tipshow && ( {/* {tipshow && (

Loading…
Cancel
Save