提交 ccae62c2 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix(web): 修复兼容问题

上级 444282b2
......@@ -75,14 +75,14 @@
this.myGlobalProperties.set.push(item)
})
this.myGlobalProperties.map = {}
this.globalPropertiesMap.forEach((value, key) => {
this.globalPropertiesMap.forEach((value: number, key: string) => {
this.myGlobalProperties.map[key] = value
})
this.myGlobalProperties.reactiveObj = this.globalPropertiesReactiveObj
this.globalPropertiesFnRes = this.globalPropertiesFn()
},
updateGlobalProperties() {
this.globalPropertiesStr = 'new string'
updateGlobalProperties() {
this.globalPropertiesStr = 'new string'
this.globalPropertiesNum = 100
this.globalPropertiesBool = true
this.globalPropertiesObj = {
......
......@@ -6,7 +6,7 @@
</template>
<script>
import grandChild from './grandChild'
import grandChild from './grandChild.uvue'
import {
state
} from '@/store/index.uts'
......
......@@ -7,7 +7,7 @@
</template>
<script>
import child from './components/child'
import child from './components/child.uvue'
import { setComponentMsg, state } from '@/store/index.uts'
export default {
components: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册