whychdw
2021-05-25 b0c902a80c789151239b96913eac73d8fb313a38
src/components/smallModule/NewTest.vue
@@ -8,7 +8,7 @@
            </div>
        </div>
        <div class="new-test-content">
            <el-button class="block-button" type="primary" size="small" :disabled="!to">新建试验</el-button>
            <el-button class="block-button" type="primary" size="small" :disabled="!to" @click="routeTo">新建试验</el-button>
        </div>
    </div>
</template>
@@ -46,6 +46,11 @@
        }
    },
    methods: {
        routeTo() {
            this.$router.push(this.to);
        }
    },
    computed: {
        url(){
            let url = "";