区分views和components
This commit is contained in:
1 parent
386a6dd173
commit
80d3b37d1b
21 files changed
+18
-20
No files matched your search
@@ -39,8 +39,8 @@
|
||||
</style>
|
||||
|
||||
<script>
|
||||
import topNav from "./components/utils/topNav.vue"
|
||||
import leftNav from "./components/utils/leftNav.vue"
|
||||
import topNav from "./views/nav/topNav.vue"
|
||||
import leftNav from "./views/nav/leftNav.vue"
|
||||
|
||||
export default({
|
||||
components: {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -77,7 +77,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import back from '../utils/back.vue'
|
||||
import back from '../../components/back.vue'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import pager from '../utils/pager.vue'
|
||||
import pager from '../../components/pager.vue'
|
||||
|
||||
export default {
|
||||
data: function () {
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import pager from "../utils/pager.vue"
|
||||
import pager from "../../components/pager.vue"
|
||||
import createAnnouncement from "./createAnnouncement.vue"
|
||||
|
||||
export default({
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import simditor from "../utils/simditor.vue"
|
||||
import simditor from "../../components/simditor.vue"
|
||||
|
||||
export default({
|
||||
data() {
|
||||
+2
-2
@@ -25,8 +25,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import simditor from "../utils/simditor.vue"
|
||||
import back from "../utils/back.vue"
|
||||
import simditor from "../../components/simditor.vue"
|
||||
import back from "../../components/back.vue"
|
||||
|
||||
export default({
|
||||
data() {
|
||||
File renamed without changes.
File renamed without changes.
+8
-10
@@ -75,16 +75,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import testCaseMgnt from "../utils/testCaseMgnt.vue"
|
||||
import problemSample from "../utils/problemSample.vue"
|
||||
import testCaseMgnt from "../../components/testCaseMgnt.vue"
|
||||
import problemSample from "../../components/problemSample.vue"
|
||||
import specialJudge from "./specialJudge.vue"
|
||||
|
||||
import back from "../utils/back.vue"
|
||||
import simditor from "../utils/simditor.vue"
|
||||
import tagInput from "../utils/tagInput.vue"
|
||||
import codeMirror from "../utils/codeMirror.vue"
|
||||
import help from "../utils/help.vue"
|
||||
import helpLink from "../utils/helpLink.vue"
|
||||
import back from "../../components/back.vue"
|
||||
import simditor from "../../components/simditor.vue"
|
||||
import tagInput from "../../components/tagInput.vue"
|
||||
import codeMirror from "../../components/codeMirror.vue"
|
||||
import help from "../../components/help.vue"
|
||||
import helpLink from "../../components/helpLink.vue"
|
||||
|
||||
export default({
|
||||
data() {
|
||||
@@ -132,8 +132,6 @@
|
||||
if (this.specialJudge && !this.$refs.specialJudgeCode.getCode().trim()) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
var submitData = {
|
||||
title: this.title,
|
||||
description: this.$refs.problemDescription.getContent(),
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import pager from "../utils/pager.vue"
|
||||
import pager from "../../components/pager.vue"
|
||||
|
||||
export default({
|
||||
data() {
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import codeMirror from "../utils/codeMirror.vue"
|
||||
import codeMirror from "../../components/codeMirror.vue"
|
||||
|
||||
export default ({
|
||||
props: {
|
||||
Reference in new issue
Block a user