index.js 384 B

123456789101112131415
  1. define([
  2. 'vue',
  3. 'text!wap/first/zsff/components/question_guide/index.html',
  4. 'css!wap/first/zsff/components/question_guide/index.css'
  5. ], function(Vue, html) {
  6. 'use strict';
  7. Vue.component('question-guide', {
  8. template: html,
  9. methods: {
  10. onRecord: function () {
  11. this.$emit('record-guide');
  12. }
  13. }
  14. });
  15. });