This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<template>
<view class="u-demo">
<view class="u-demo-wrap">
<view class="u-demo-title">演示效果</view>
<view class="u-demo-area">
<view class="u-no-demo-here">
源对象为:"{info: {name: 'mary'}}"
</view>
<view class="u-demo-result-line">
{{result}}
</template>
<script>
export default {
data() {
return {
obj: {
info: {
name: 'mary'
}
},
result: ''
onLoad() {
this.result = this.$u.deepClone(this.obj);
</script>
<style lang="scss" scoped>
.u-demo {}
</style>
Powered by TurnKey Linux.