e 1 year ago
parent
commit
2955ea9a86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vue3/my_project/src/components/Demo6.vue

+ 1 - 1
vue3/my_project/src/components/Demo6.vue

@@ -33,7 +33,7 @@
     
     // obj.car = {c1:"爱玛",c2:"上海永久"}
     console.log(obj1)
-    Object.assign(obj1,{bb:"爱玛",cc:"上海永久"})
+    // Object.assign(obj1,{bb:"爱玛",cc:"上海永久"})
     obj1 = {bb:"爱玛",cc:"上海永久"}
   // obj1= {}
   }