浏览代码

调整导入

wangxy 7 月之前
父节点
当前提交
423cc65851
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      components/question/tiankong.vue

+ 5 - 4
components/question/tiankong.vue

@@ -10,7 +10,12 @@
 </template>
 
 <script>
+  import FillItem from "./FillItem.vue";
+
 	export default {
+    components: {
+      FillItem
+    },
 		props: {
 			placeholders: { // 占位符
 				type: Array,
@@ -35,11 +40,7 @@
 </script>
 
 <script module="TK" lang="renderjs">
-	import FillItem from "./FillItem.vue";
 	export default {
-		components: {
-			FillItem
-		},
 		props: {
 			placeholders: { // 占位符
 				type: Array,