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